Hi,

I have following events and monitors in snmpd.conf:

setEvent                setEvent  <MIB2>::test2 = 4321
notificationEvent       sendEvent <MIB1>::alarmTestTrap

monitor -e setEvent -r 60 "SetMonitor"  <MIB2>::test >= 1234
monitor -e sendEvent -r 60 "SendMonitor" <MIB2>::test >= 1234

the notification is fired, but setEvent is unsuccessful.

When running snmpd .. -Ddisman I see
Aug 14 14:00:22 de-pim snmpd[12777]: Running trigger (SetMonitor)
Aug 14 14:00:52 de-pim snmpd[12777]: disman:event:trigger:monitor:
Aug 14 14:00:52 de-pim snmpd[12777]: Trigger query (walk) failed: -1
Aug 14 14:00:52 de-pim snmpd[12777]: failed to run mteTrigger query
Aug 14 14:00:52 de-pim snmpd[12777]: disman:event:trigger:monitor:
Aug 14 14:00:52 de-pim snmpd[12777]: Running trigger (SendMonitor)
Aug 14 14:00:52 de-pim snmpd[12777]: disman:event:delta:
Aug 14 14:00:52 de-pim snmpd[12777]: Bool comparison: (1234 >= 1234) 1

I'm able to set the value using snmpset.

What's wrong with setEvent?

Michal Filka

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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

Reply via email to