David: I see that spacing is very important. Putting a space between the != and the 0 fixed this. This will only send out a Trap when the event fails, is that correct. What I also need is a notification when the triggering event is corrected.
James Mckenzie -----Original Message----- >From: Dave Shield <[EMAIL PROTECTED]> >Sent: Oct 12, 2006 9:30 AM >To: James Mckenzie <[EMAIL PROTECTED]> >Cc: net-snmp-users <[email protected]> >Subject: Re: Problems with Monitor > >On 11/10/06, James Mckenzie <[EMAIL PROTECTED]> wrote: >> >Also try running "snmpwalk ... extTable" while this is running, so we >> >can see what these values actually are in between the various probes >> >of the DisMan monitor. >> > >> Done. Files attached. > >A couple of things that I noticed from your output file: >---- >disman:event:trigger:monitor: Running trigger (status table) >disman:event:trigger:fire: Firing initial existence test: >UCD-SNMP-MIB::extResult.1 (present) >disman:event:fire: Event fired (snmpd.conf, TestDn) >disman:event:fire: Firing notification event >---- > >So this *does* seem to be firing the notification event - at least once. > >The other thing that may be relevant: > >----------- >disman:event:conf: Parsing disman monitor config > (-u me -e 'TestDn' -r 60 -o extNames -o extOutput "status table" >extResult !=0) >disman:event:conf: _Xstatus table: Exist (extResult, 128) >---------- > >This shouldn't be an Existence entry - it ought to be generating a >Boolean monitor. >It's a bit difficult to tell, but is there a space between '!=' and '0' or not? >There should be three parameters: > extResult != 0 >and merging these will probably confuse the monitor parser. > >Try making sure that these are separate, and run the agent again. >If things still don't work, can you please post the full results of >walking the complete dismanEventMIB subtree. > >Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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
