Moin,
> > > snmpwalk mteNotificationEventTable
> >
> > before killing prg2:
> >
> > mteNotificationEventTable: Unknown Object Identifier
> > (Sub-id not found: (top) -> mteNotificationEventTable)
>
> <Sigh>
> My mistake - that should be "mteEventNotificationTable".
> Sorry about that.
I looked for similar name, but there's no OID in the DISMAN-EVENT-MIB
matching the string "Table". The closest I get is:
mteEventNotificationObjects.
Before killing prg2:
DISMAN-EVENT-MIB::mteEventNotification."_snmpd".'_mteTriggerFailure' = OID:
DISMAN-EVENT-MIB::mteTriggerFailure
DISMAN-EVENT-MIB::mteEventNotification."_snmpd".'_mteTriggerFalling' = OID:
DISMAN-EVENT-MIB::mteTriggerFalling
DISMAN-EVENT-MIB::mteEventNotification."_snmpd".'_mteTriggerFired' = OID:
DISMAN-EVENT-MIB::mteTriggerFired
DISMAN-EVENT-MIB::mteEventNotification."_snmpd".'_mteTriggerRising' = OID:
DISMAN-EVENT-MIB::mteTriggerRising
DISMAN-EVENT-MIB::mteEventNotificationObjectsOwner."_snmpd".'_mteTriggerFailure'
= STRING:
_snmpd
DISMAN-EVENT-MIB::mteEventNotificationObjectsOwner."_snmpd".'_mteTriggerFalling'
= STRING:
_snmpd
DISMAN-EVENT-MIB::mteEventNotificationObjectsOwner."_snmpd".'_mteTriggerFired'
= STRING:
_snmpd
DISMAN-EVENT-MIB::mteEventNotificationObjectsOwner."_snmpd".'_mteTriggerRising'
= STRING: _snmpd
DISMAN-EVENT-MIB::mteEventNotificationObjects."_snmpd".'_mteTriggerFailure'
= STRING: _triggerFail
DISMAN-EVENT-MIB::mteEventNotificationObjects."_snmpd".'_mteTriggerFalling'
= STRING: _triggerFire
DISMAN-EVENT-MIB::mteEventNotificationObjects."_snmpd".'_mteTriggerFired' =
STRING: _triggerFire
DISMAN-EVENT-MIB::mteEventNotificationObjects."_snmpd".'_mteTriggerRising' =
STRING: _triggerFire
after killing prg2:
DISMAN-EVENT-MIB::mteTriggerBooleanEventOwner."snmpd.conf".'proc' = STRING:
snmpd.conf
DISMAN-EVENT-MIB::mteTriggerBooleanEvent."snmpd.conf".'proc' = STRING:
amendments to the 10646 s
lodo:bin$snmpwalk -v2c -c public localhost:1161 .1.3.6.1.2.1.88 | grep
mteEventNotification
DISMAN-EVENT-MIB::mteEventNotification."_snmpd".'_mteTriggerFailure' = OID:
DISMAN-EVENT-MIB::mteTriggerFailure
DISMAN-EVENT-MIB::mteEventNotification."_snmpd".'_mteTriggerFalling' = OID:
DISMAN-EVENT-MIB::mteTriggerFalling
DISMAN-EVENT-MIB::mteEventNotification."_snmpd".'_mteTriggerFired' = OID:
DISMAN-EVENT-MIB::mteTriggerFired
DISMAN-EVENT-MIB::mteEventNotification."_snmpd".'_mteTriggerRising' = OID:
DISMAN-EVENT-MIB::mteTriggerRising
DISMAN-EVENT-MIB::mteEventNotificationObjectsOwner."_snmpd".'_mteTriggerFailure'
= STRING:
_snmpd
DISMAN-EVENT-MIB::mteEventNotificationObjectsOwner."_snmpd".'_mteTriggerFalling'
= STRING:
_snmpd
DISMAN-EVENT-MIB::mteEventNotificationObjectsOwner."_snmpd".'_mteTriggerFired'
= STRING:
_snmpd
DISMAN-EVENT-MIB::mteEventNotificationObjectsOwner."_snmpd".'_mteTriggerRising'
= STRING: _snmpd
DISMAN-EVENT-MIB::mteEventNotificationObjects."_snmpd".'_mteTriggerFailure'
= STRING: _triggerFail
DISMAN-EVENT-MIB::mteEventNotificationObjects."_snmpd".'_mteTriggerFalling'
= STRING: _triggerFire
DISMAN-EVENT-MIB::mteEventNotificationObjects."_snmpd".'_mteTriggerFired' =
STRING: _triggerFire
DISMAN-EVENT-MIB::mteEventNotificationObjects."_snmpd".'_mteTriggerRising' =
STRING: _triggerFire
> It would also be useful to see a walk of the mteTriggerBooleanEvent
> and mteTriggerBooleanEventOwner objects. It looks suspiciously as
> if the events are set up OK, but the monitor isn't actually looking
> for them properly.
DISMAN-EVENT-MIB::mteTriggerBooleanEventOwner."snmpd.conf".'proc' = STRING:
snmpd.conf
DISMAN-EVENT-MIB::mteTriggerBooleanEvent."snmpd.conf".'proc' = STRING:
amendments to the 10646 s
> Hmmmm.... I wonder....
> Please try the following patch:
>
> --- mteTriggerConf.c 7 Oct 2005 14:14:43 -0000 1.10
> +++ mteTriggerConf.c 17 Oct 2005 08:50:26 -0000
> @@ -176,6 +176,7 @@
> */
> memset( buf, 0, sizeof(buf));
> memset( tname, 0, sizeof(tname));
> + memset( ename, 0, sizeof(ename));
> for (cp = copy_nword(line, buf, SPRINT_MAX_LEN);
> ;
> cp = copy_nword(cp, buf, SPRINT_MAX_LEN)) {
>
>
> [applied to agent/mibgroup/disman/event/mteTriggerConf.c]
>
> Does that make any difference?
I check that patch next.
Cheers,
Loïc.
--
--
// Sender address goes to a spam catcher (!!)
// Use my 32/64 bits, ANSI C89, compliant email-address instead:
unsigned y[]=
{0,34432,26811,16721,41866,63119,61007,48155,26147,10986};
void x(z){putchar(z);}; unsigned t;
main(i){if(i<10){t=(y[i]*47560)%65521;x(t>>8);x(t&255);main(++i);}}
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl
-------------------------------------------------------
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