On Tue, May 15, 2012 at 2:42 PM, Dave Shield <d.t.shi...@liverpool.ac.uk> wrote:
> I've never actually tried to have one "monitor" line trigger both
> types of event, but it might work.   At the very least, you could
> have two monitor entries - one to send the trap, and one to
> apply the fix.

To close this thread, one "monitor" and 2 "catchers" does work.

  monitor -r 10 -e prFixIt "procTable" prErrorFlag != 0
  setEvent prFixIt prErrFix = 1
  notificationEvent prFixIt prEntry prErrMessage prErrFixCmd prNames

I found myself somewhat challenged because I needed to generate a
specific type of notification message that had attributes I couldn't
quite capture in this configuration file so I went with the wrapper
script which also worked fine.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to