Re: option -i for monitor?

"Loic Domaigne" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave, 

hope you had a nice week-end. 

Enclosed the entries in the mteEventTable and mteNotificationEventTable as
you asked.

Regards,
Loïc. 

> > > What debug output does the agent display?
> > 
> > disman:event:trigger:monitor: Running trigger (proc)
> > disman:event:delta: Bool comparison: (0 != 0) 0
> > disman:event:delta: Bool comparison: (1 != 0) 1
> > disman:event:trigger:fire: Firing boolean test:
> UCD-SNMP-MIB::prErrorFlag.2
> > disman:event:fire: Event fired (snmpd.conf,         amendments to the
> 10646
> > s)
> > disman:event:fire: No matching event
> > disman:event:delta: Bool comparison: (0 != 0) 0
> 
> 
> Hmmm....  It looks as if the automatic entries in
> the event table aren't set up correctly.
> 
> What's the output from
> 
> 	snmpwalk   mteEventTable

Before killing prg2: 

DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_mteTriggerFailure' = STRING: 
DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_mteTriggerFalling' = STRING: 
DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_mteTriggerFired' = STRING: 
DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_mteTriggerRising' = STRING: 
DISMAN-EVENT-MIB::mteEventActions."_snmpd".'_mteTriggerFailure' = BITS: 80
notification(0) 
DISMAN-EVENT-MIB::mteEventActions."_snmpd".'_mteTriggerFalling' = BITS: 80
notification(0) 
DISMAN-EVENT-MIB::mteEventActions."_snmpd".'_mteTriggerFired' = BITS: 80
notification(0) 
DISMAN-EVENT-MIB::mteEventActions."_snmpd".'_mteTriggerRising' = BITS: 80
notification(0) 
DISMAN-EVENT-MIB::mteEventEnabled."_snmpd".'_mteTriggerFailure' = INTEGER:
false(2)
DISMAN-EVENT-MIB::mteEventEnabled."_snmpd".'_mteTriggerFalling' = INTEGER:
false(2)
DISMAN-EVENT-MIB::mteEventEnabled."_snmpd".'_mteTriggerFired' = INTEGER:
false(2)
DISMAN-EVENT-MIB::mteEventEnabled."_snmpd".'_mteTriggerRising' = INTEGER:
false(2)
DISMAN-EVENT-MIB::mteEventEntryStatus."_snmpd".'_mteTriggerFailure' =
INTEGER: active(1)
DISMAN-EVENT-MIB::mteEventEntryStatus."_snmpd".'_mteTriggerFalling' =
INTEGER: active(1)
DISMAN-EVENT-MIB::mteEventEntryStatus."_snmpd".'_mteTriggerFired' = INTEGER:
active(1)
DISMAN-EVENT-MIB::mteEventEntryStatus."_snmpd".'_mteTriggerRising' =
INTEGER: active(1)

After killing prg2:

DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_mteTriggerFailure' = STRING: 
DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_mteTriggerFalling' = STRING: 
DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_mteTriggerFired' = STRING: 
DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_mteTriggerRising' = STRING: 
DISMAN-EVENT-MIB::mteEventActions."_snmpd".'_mteTriggerFailure' = BITS: 80
notification(0) 
DISMAN-EVENT-MIB::mteEventActions."_snmpd".'_mteTriggerFalling' = BITS: 80
notification(0) 
DISMAN-EVENT-MIB::mteEventActions."_snmpd".'_mteTriggerFired' = BITS: 80
notification(0) 
DISMAN-EVENT-MIB::mteEventActions."_snmpd".'_mteTriggerRising' = BITS: 80
notification(0) 
DISMAN-EVENT-MIB::mteEventEnabled."_snmpd".'_mteTriggerFailure' = INTEGER:
false(2)
DISMAN-EVENT-MIB::mteEventEnabled."_snmpd".'_mteTriggerFalling' = INTEGER:
false(2)
DISMAN-EVENT-MIB::mteEventEnabled."_snmpd".'_mteTriggerFired' = INTEGER:
false(2)
DISMAN-EVENT-MIB::mteEventEnabled."_snmpd".'_mteTriggerRising' = INTEGER:
false(2)
DISMAN-EVENT-MIB::mteEventEntryStatus."_snmpd".'_mteTriggerFailure' =
INTEGER: active(1)
DISMAN-EVENT-MIB::mteEventEntryStatus."_snmpd".'_mteTriggerFalling' =
INTEGER: active(1)
DISMAN-EVENT-MIB::mteEventEntryStatus."_snmpd".'_mteTriggerFired' = INTEGER:
active(1)
DISMAN-EVENT-MIB::mteEventEntryStatus."_snmpd".'_mteTriggerRising' =
INTEGER: active(1)


> 	snmpwalk   mteNotificationEventTable

before killing prg2:

mteNotificationEventTable: Unknown Object Identifier (Sub-id not found:
(top) -> mteNotificationEventTable)


after killing prg2:

mteNotificationEventTable: Unknown Object Identifier (Sub-id not found:
(top) -> mteNotificationEventTable)


HTH,
Loïc.

-- 
Disturbing... But systems dealing with money are far more reliable and
secure than systems dealing with human lifes.

10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.