DisMan doesn't trigger a event.
=?ks_c_5601-1987?B?sejAur+1?= <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <!&!AAAAAAAAAAAYAAAAAAAAAKSY9OBwngZEgk1HGRtLOiPCgAAAEAAAAACEZ8kbKHlAqQX5Mi+hCeABAAAAAA==@radiantech.net> |
Hi, I¡¯m Catherine. I tried to trigger a trap event using disman. But it didn¡¯t work well. This is the contents of my snmpd.conf. ------------------------ createUser jupiter MD5 "single pass phrase" AES rouser jupiter noauth rocommunity public trapcommunity public trap2sink 127.0.0.1:162 public iquerySecName jupiter agentSecName jupiter monitor -r 10 -e rfcNotiFaultCritical -u jupiter -i rfcPlatformRunningProcessCount.0 "rfcPlatformRunningProcessCount" rfcPlatformRunningProcessCount.0 < 3 ------------------------ I run snmpd like this: ------------------------ snmpd -f -Ddisman -Le ------------------------ And this is the output from snmpd. ------------------------ disman:event:trigger:monitor: disman:event:trigger:monitor: Running trigger (rfcPlatformRunningProcessCount) Running trigger (rfcPlatformRunningProcessCount) disman:event:trigger:fire: disman:event:trigger:fire: Returned non-integer result(s): Returned non-integer result(s): SNMPv2-SMI::zeroDotZeroSNMPv2- SMI::zeroDotZero (boolean/threshold) 0 (boolean/threshold) 0 ------------------------ I¡¯ve got the value of rfcPlatformRunningProcessCount.0 by normal snmpwalk query via SNMPv3, username jupiter. And the type of it is INTEGER as you see below: ------------------------ snmpwalk -v3 -u jupiter localhost rfcPlatformRunningProcessCount.0 RADFINDER-MIB::rfcPlatformRunningProcessCount.0 = INTEGER: 3 ------------------------ Can someone help me? What should I do? Thank you for your help in advance. Catherine ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users