Hello everyone,
I'm quite new to the zabbix world and this is my first post here. I have some snmp traps related to UPS Devices and I want, as they come, to execute some scripts based on triggers registered on zabbix. I created an item for my host which type is snmp trap, but every time a trigger comes, its status change to "not monitored". And I created a trigger that has never been fired(don't know if it's because of the status of the item).
For example:
I have an attribute called upsEstimatedMinutesRemaining for the following trap:
upsTrapOnBattery .1.3.6.1.2.1.33.2.1
I want to create a trigger that is fired when upsEstimatedMinutesRemaining is less then, let's say, 5.
For testing, I'm sending traps using the snmptrap command as below:
sudo snmptrap -v 2c -c public localhost "" .1.3.6.1.2.1.33.2.1 upsEstimatedMinutesRemaining int 4
When I go to check on zabbix, I can see an red icon on status, which is able to show the latest trap. However, no trigger is fired and when I go to the "latest data" section, no result is there.
I know that it's a common and newbie question, but it seems zabbix has changed a lot from 1.8 to 2.0 and most of the documentation on the internet is out of date.
I have also looked for a book, but the most recent was released in 2010.
I really, really appreciate any suggestion, any path, any link you can share.
I have to point out that I'm not a system's administrator. I'm a software developer working on a customized zabbix frontend.
 
I'm quite new to the zabbix world and this is my first post here. I have some snmp traps related to UPS Devices and I want, as they come, to execute some scripts based on triggers registered on zabbix. I created an item for my host which type is snmp trap, but every time a trigger comes, its status change to "not monitored". And I created a trigger that has never been fired(don't know if it's because of the status of the item).
For example:
I have an attribute called upsEstimatedMinutesRemaining for the following trap:
upsTrapOnBattery .1.3.6.1.2.1.33.2.1
I want to create a trigger that is fired when upsEstimatedMinutesRemaining is less then, let's say, 5.
For testing, I'm sending traps using the snmptrap command as below:
sudo snmptrap -v 2c -c public localhost "" .1.3.6.1.2.1.33.2.1 upsEstimatedMinutesRemaining int 4
When I go to check on zabbix, I can see an red icon on status, which is able to show the latest trap. However, no trigger is fired and when I go to the "latest data" section, no result is there.
I know that it's a common and newbie question, but it seems zabbix has changed a lot from 1.8 to 2.0 and most of the documentation on the internet is out of date.
I have also looked for a book, but the most recent was released in 2010.
I really, really appreciate any suggestion, any path, any link you can share.
I have to point out that I'm not a system's administrator. I'm a software developer working on a customized zabbix frontend.
 
Comment