Hi, I have got the following problems on AIX 5.2 with net-snmp version 5.2 and net-snmp version 5.1.2.
The snmp agent (snmpd) is built with the following configuration:
./configure --disable-shared --with-mib- modules=disman/event-mib.
It built the snmpd and all other applications without any link errors.
Have configured the snmpd.conf to receive traps as follows:
trapsink localhost public 162
agentSecName internal rouser internal
#linkUpDownNotifications yes
notificationEvent linkUpTrap linkUp ifIndex ifAdminStatus ifOperStatus notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus ifOperStatus monitor -r 60 -e linkUpTrap "Generate linkUp" ifOperStatus != 2 monitor -r 60 -e linkDownTrap "Generate linkDown" ifOperStatus == 2
The agent is sending the "ColdStart", "Authentication" "shutdown", restart" traps and the snmptrapd is receiving them properly.
However, there is a problem with linkUP/linkDown traps. The agent is NOT sending these traps. The agent is updating "ifAdminStatus" to values up (1)/down(2) whenever the network interface goes up/down. BUT the "ifOperStatus" is NOT getting changed to up(1)/down(2). It is always staying as up (1). Since, linkup/linkDown trap generation is based on this ifOperStatus field, no linkup/down traps are generated.
Does anyone had this problem before and had fixed it ? Does anyone have a clue on why "ifOperStatus" is not changing ?
I am also getting the following nlist related erros in the /var/lof/snmpd.log while the agent is started. ************************************* nlist err: neither tcpstat nor _tcpstat found. nlist err: neither tcb nor _tcb found. nlist err: neither icmpstat nor _icmpstat found. nlist err: neither ipstat nor _ipstat found. nlist err: neither ipforwarding nor _ipforwarding found. nlist err: neither tcpDefaultTTL nor _tcpDefaultTTL found. **************************************
I wonder if these log errors have anything to do with the trap problem stated above. Also, any clue on how to eliminate them ?
Thank you very much Vishakh.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
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
