linkDown and linkUp traps are triggered repeatedly

"Jennifer Lu" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi, all

 

I use the Disman-Event-Mib support to monitor a ppp link on which ipsec is
applied. The following is my configurations used to check network interfaces
in snmpd.conf

 

notificationEvent  linkUpTrap    1.3.6.1.6.3.1.1.5.4   1.3.6.1.2.1.2.2.1.1
1.3.6.1.2.1.2.2.1.7 1.3.6.1.2.1.2.2.1.8
notificationEvent  linkDownTrap  1.3.6.1.6.3.1.1.5.3 1.3.6.1.2.1.2.2.1.1
1.3.6.1.2.1.2.2.1.7  1.3.6.1.2.1.2.2.1.8
 
monitor  -r 60 -e linkUpTrap   "Generate linkUp" 1.3.6.1.2.1.2.2.1.8 != 2
monitor  -r 60 -e linkDownTrap "Generate linkDown" 1.3.6.1.2.1.2.2.1.8 == 2

 

>From the manufal page for snmpd.conf, "traps are sent when expressions are
first noticed, not once per evaluation. Once a test expression fires a trap,
the test will have to fail again before a new trap is sent".

 

The network interfaces' status while the machine is running (after the
machine boots up) is as follows 

Eth0: up

Ppp0: up

Ipsec0: down

Ipsec1: down

Ipsec2: down

Ipsec3: down

 

It is supposed that the linkdown trap for ppp0 should appear only once, so
does the linkup trap; the linkdown trap for ipsec interface should appear
only once. However, the linkup trap for ppp0 and the linkdown trap for ipsec
interface(s) are triggered repeatedly. The linkup/linkdown traps for eth0
work as expected.

 

I am wondering if it is ipsec that causes this issue. Traps repeatedly sent
out are very annoying and mislead administrator in some extent. 

 

We are using net-snmp-5.2 on timesys with powerpc. 

 

Anyone has the same experiences?

 

Thanks,

 

Jing

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.