Discussion:
generic SNMPv2-MIB trap linkDown/linkUp
Daniel Coelho
2007-05-25 10:12:54 UTC
Permalink
Hello,

I believe I have a minimal configuration to make NetSNMP
work. I can set and get the MIB objects and the traps
are working since the program iReasoning Trap Receiver
shows the incoming traps sent from snmptrapd
(with the forward directive) on a remote box.
BUT, if all apears to be well, why can't I receive a
linkUp/Down trap when I unplug the network cable?

Thank you for your time.

Daniel Coelho
Dave Shield
2007-05-25 10:52:08 UTC
Permalink
Post by Daniel Coelho
BUT, if all apears to be well, why can't I receive a
linkUp/Down trap when I unplug the network cable?
Which version of the code are you using?

have you got the "linkUpDownNotifications yes" directive
and DisMan Event MIB support configured?

Dave
Daniel Coelho
2007-05-25 13:02:25 UTC
Permalink
snmpd --version
NET-SNMP version: 5.1.2
I don't really know anything about that.
I'm going to look it up.
By the way, why is it necessary those directives?
I thought that if a trap occurred, it would simply
notify an NMS with a SNMP message...

Thank you for the help.

Danie Coelho
Post by Dave Shield
Post by Daniel Coelho
BUT, if all apears to be well, why can't I receive a
linkUp/Down trap when I unplug the network cable?
Which version of the code are you using?
have you got the "linkUpDownNotifications yes" directive
and DisMan Event MIB support configured?
Dave
Dave Shield
2007-05-25 13:46:29 UTC
Permalink
Post by Daniel Coelho
By the way, why is it necessary those directives?
I thought that if a trap occurred, it would simply
notify an NMS with a SNMP message...
*If* a trap occurs, it will be sent to the NMS, correct.
But what traps should be generated (and when)?

Those directives have the effect of implementing ifUp/Down notifications.

Dave

Loading...