Re: help on linkUpDownNotifications‏

2010-03-19 Thread Bart Van Assche
2010/3/19 X Z b...@live.com

  I am trying to get the linkUp and linkDown traps sent from the snmpd
 agent. I use snmptrapd as a listener on the localhost and didn't receive the
 linkDown event.

 I started snmpd with option -Ddisman:event

 The following messages dumped:
 isman:event:delta: Bool comparison: (2 == 2) 1
 disman:event:trigger:fire: Firing boolean test: IF-MIB::ifOperStatus.7
 disman:event:fire: Event fired (_snmpd, _linkDown)
 disman:event:fire: Firing notification event
 disman:event:fire: Adding event objects (first)
 disman:event:fire: Adding trigger objects (general)
 disman:event:fire: Adding trigger objects (specific)
 ..

 disman:event:fire: Adding event objects (internal)
 disman:event:objects: Unknown internal objects tag (_linkUpDown)

 Does anyone know how to get the linkdown and linkup traps working? I can do
 a snmpwalk for the ifTable and see the link status is down.


Which operating system and which Net-SNMP version are you using ?

Bart.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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


Re: help on linkUpDownNotifications‏

2010-03-19 Thread Dave Shield
2010/3/19 X Z b...@live.com:
 I am trying to get the linkUp and linkDown traps sent from the snmpd agent.
 I use snmptrapd as a listener on the localhost and didn't receive the
 linkDown event.

Are you seeing the coldStart trap when the agent starts up?

Dave

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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


Re: help on linkUpDownNotifications‏

2010-03-19 Thread Dave Shield
2010/3/19 X Z b...@live.com:
 disman:event:objects: Unknown internal objects tag (_linkUpDown)

I've had a quick look at the SVN repository for this MIB module code.
It appears that this problem was fixed with release 5.4.2 and above.

Dave

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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


Re: help on linkUpDownNotifications‏

2010-03-19 Thread Dave Shield
2010/3/19 X Z b...@live.com:
 Thanks for your help. I got the 5.4.2.1 source code and compiled it. But I
 got the following errors:

  Warning: no access control information configured.

 I used the same snmpd.conf file as the one used in 5.3.1.

Where did you put this file?
An agent compiled from source will typically look under /usr/local/etc
or /usr/local/share
Vendor-supplied agents typically look under /etc/ or /etc/snmp

Run the agent using -Dread_config to check exactly where it's looking.

Dave

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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


Re: help on linkUpDownNotifications‏

2010-03-19 Thread Dave Shield
2010/3/19 X Z b...@live.com:
 Do you mean the following fix:

 2008-04-19 22:20  tanders

    * agent/mibgroup/disman/event/mteTriggerConf.c:

    don't depend on OID resolution for disman linkUpDownNotifications


No

2008-06-01 20:02  dts12

   *  agent/mibgroup/disman/event/mteEvent.c,
  agent/mibgroup/disman/event/mteObjects.c,
  agent/mibgroup/disman/event/mteObjects.h:

   Handle varbind payload for internal linkUp/Down notifications.


Dave

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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