D
D
dmitrye12012-09-23 16:23:47
System administration
dmitrye1, 2012-09-23 16:23:47

Zabbix. SNMP GET and TRAP?

As you know, data can be loaded into zabbix both by periodically polling SNMP agents and by processing traps.
In the first case, the efficiency of data acquisition is determined by the period and there is a chance to miss short events. When using the trap mechanism, everything is in order with efficiency, but events are likely to be lost, due to the specifics of the UDP protocol.
I would like to combine the advantages of these methods, but in zabbix the item types from SNMP agents and from the trap mechanism are not compatible in one item.
So far, I have come to the creation of two elements for SNMP agents and traps, combining their data in a trigger, but ... the trigger is cumbersome, there is a lot of data, it's unsightly.
Ideally, I would like to initiate a poll with the zabbix SNMP agent through the ladder, but I did not find anything like this in the Zabbix API.
Thanks in advance for ideas and tips!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Ableev, 2012-11-23
@ableev

Ideally, I would like to initiate a poll with the zabbix SNMP agent through the ladder, but I did not find anything like this in the Zabbix API.

You can come up with such a crutch method:
1. The trapper receives an event from the piece of iron
2. The trigger fires
3. The action pulls the script with the necessary parameters
4. ???
5. PROFIT
At step 4, you can do anything if there is a simple / complex script :)
This is the first thing that comes to mind. I wouldn't rely on zabbix api...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question