Yes, that was the problem. I used -c /etc/snmp/snmpd.conf as option to start
snmpd to solve the problem.
I still didn't see any link down traps. No errors dumped either.
Here is part of the output:
disman:event:delta: Bool comparison: (1 != 2) 1
disman:event:delta: Bool comparison: (2 != 2) 0
disman:event:delta: Bool comparison: (2 != 2) 0
disman:event:delta: Bool comparison: (1 != 2) 1
disman:event:delta: Bool comparison: (1 != 2) 1
disman:event:delta: Bool comparison: (2 != 2) 0
disman:event:trigger:monitor: Running trigger (linkDown)
Sending 1 bytes to callback: 2 on fd 5
0000: 08 .
Received 1 bytes from callback: 1 on fd 3
0000: 01 .
Received SNMP packet(s) from callback: 1 on fd 3
GETNEXT message
-- IF-MIB::ifOperStatus
Sending 1 bytes to callback: 1 on fd 3
0000: 08
Could you please give me some insights why I still didn't see any link down
traps? I can only receive coldStart and nsNotifyShutdown traps.
In my snmpd.conf, I have the line "linkUpDownNotifications yes".
Thanks
Xuan
> Date: Fri, 19 Mar 2010 22:03:06 +0000
> Subject: Re: help on linkUpDownNotifications
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 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
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/
------------------------------------------------------------------------------
Download Intel® 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