On Monday 13 March 2006 15:36, Dave Shield wrote:

> OK - I think I've spotted the problem.
> The mteEventTable (and mteEventNotificationTable) have
> been set up with the internal owner string "_snmpd",
> but the trigger that's being fired is using the owner
> string "snmpd.conf".
>
> Ummm...  Can you try the following patch, and see if it
> helps at all.

:-( No it still doesn't seem to work. I've restarted snmpd with -Ddisman -d 
-Le -p /var/run/snmpd.pid again, and the following entries seem to be 
relevant (I've just copied the linkUp ones - the linkDown is the same):

2006-03-13 16:11:10 disman:event:conf: disman:event:conf: Registering 
linkUpDown traps
2006-03-13 16:11:10 Registering linkUpDown traps
2006-03-13 16:11:10 disman:event:conf: disman:event:conf: Parsing disman 
monitor config (-r 60 -S -e _linkUp   "linkUp"   ifOperStatus != 2)
2006-03-13 16:11:10 Parsing disman monitor config (-r 60 -S -e _linkUp   
"linkUp"   ifOperStatus != 2)
2006-03-13 16:11:10 disman:event:conf: disman:event:conf: _BlinkUp: Bool 
(ifOperStatus, 1, 2)
2006-03-13 16:11:10 _BlinkUp: Bool (ifOperStatus, 1, 2)
2006-03-13 16:11:10 disman:event:table: disman:event:table: Create trigger 
entry (snmpd.conf, linkUp)
2006-03-13 16:11:10 Create trigger entry (snmpd.conf, linkUp)
2006-03-13 16:11:10 disman:event:table: disman:event:table: Trigger entry 
created
2006-03-13 16:11:10 Trigger entry created
.
.
.
2006-03-13 16:11:10 disman:event:delta: disman:event:delta: Bool comparison: 
(1 != 2) 1
2006-03-13 16:11:10 Bool comparison: (1 != 2) 1
2006-03-13 16:11:10 disman:event:trigger:fire: disman:event:trigger:fire: 
Firing boolean test: Firing boolean test: 
IF-MIB::ifOperStatus.1IF-MIB::ifOperStatus.1 (startup)
2006-03-13 16:11:10  (startup)
2006-03-13 16:11:10 disman:event:fire: disman:event:fire: Event fired 
(snmpd.conf, _linkUp)
2006-03-13 16:11:10 Event fired (snmpd.conf, _linkUp)
2006-03-13 16:11:10 disman:event:fire: disman:event:fire: No matching event
2006-03-13 16:11:10 No matching event

When I look in the mteEventTable, I still everything listed with "_snmpd"

.iso.org.dod.internet.mgmt.mib-2.dismanEventMIB.dismanEventMIBObjects.mteEvent.mteEventNotificationTable.mteEventNotificationEntry.mteEventNotificationObjectsOwner."_snmpd".'_linkDown'
 
= STRING: _snmpd

I'm sure I've applied the patch properly. To be absolutely sure, I did a make 
uninstall, make clean, applied the patch and configure, make, make install.

Helen.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to