This time I have trouble with SNMP...
We have a bunch of APC UPS devices (ca. 60 of them) sending SNMP traps in "critical" and "warning" cases only. The computer where HostMonitor is running on is defined as trap receiver, and the test traps sent from the UPCs reach Host Monitor without problems. After I got that to work by creating a test containing all traps from all devices (just for testing purposes), I created an import file containing one single test for each device to make visible which hostname is sending the trap. That worked fine too. The tests are configured to reply "trap type", but choosing another reply doesn't make any difference. Host monitor is now showing
Code: Select all
Test Name |Status|Recurrences|Reply |
SNMP Trap:hostname |Bad |1 |Specific (6.636)|
Now I want HM to put "Test" into the Reply field when recieving THIS trap, and e.g. "Battery low" when recieving the trap for low battery warning.
Is this possible? And if yes, how do I do that?
I already tried "Tune up reply" as suggested in another thread, but nothing happened, reply output stayed the same.
EDIT: I also have a list of all traps, the devices can send: http://www.nagios-wiki.de/snmptt/apc