As usual, the moment you ask for help ...

It turns out I was just impatient in all my testing throughout the  
day. The default monitoring period of prErrFix is much longer than I  
waited. I decreased the time between monitors of the table and it  
worked without a hitch.

Sorry for the trouble,

Jacob

Quoting [EMAIL PROTECTED]:

> I'm having a wierd issue that I haven't been able to figure out,
> here's the config:
>
> iquerySecName alarmgen
> rwuser alarmgen
> proc java 1 1
> procfix java /root/pm.pl java
> monitor -r 10 -o prNames -o prErrMessage "process table" prErrorFlag != 0
> setEvent   prFixIt  prErrFix = 1
> monitor -e prFixIt "procTable" prErrorFlag   != 0
>
> When Net-SNMP starts, it checks the running processes, finds there is
> a problem, and starts the process. Everything works.
>
> When I kill a process while Net-SNMP is running, it detects the
> failure, alarms on it, and appears to update the
> UCD-SNMP-MIB::prErrorFlag.1 and UCD-SNMP-MIB::prErrMessage.1 tables
> correctly. It however never runs the procfix command as it does when
> it starts.
>
> Am I missing an extra configuration line?
>
> Thanks,
>
> Jacob
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> 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
>




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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