linkup and linkdown traps generated do not have the ifIndex, ifAdminStatus and ifOperStatus elements in the traps generated

inquisitive nc <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I am new to net-snmp framework. Currently using 5.4 version. I observe that disman/event mibs are included by default with 5.4 and here is the configuration used.

syscontact      me@myhome
syslocation     my home 
rocommunity     jltro
trapcommunity   jlttrap
trapsink        10.82.208.26
sysservices     12
disk            / 15%
file            /var/log/messages       2097152
authtrapenable  1 
createUser      _myinternal MD5 "my internal passwd"
agentSecName    _myinternal
rouser          _myinternal
linkUpDownNotifications yes
defaultMonitors         yes

It is observed that the linkUp and linkDown traps dont have the ifIndex, ifAdminStatus and ifOperstatus objects included in the message. The agent machine has two eth interfaces(eth0 and eth1) and a loopback interface.

When I start the snmpd with the following options, 
snmpd -f -Le -d, following is the snippet of output generated. It seems agent receives status about ifOperStatus and generates traps, but the above objects(ifIndex, ifAdminStatus and ifOperstatus) are not included. I observe, with linkUpDownNotifications configuration, "notificationEvent" and "monitor" directives are not required. Any pointers would be helpful. 

Thanks,
------------------------------------------------------------------------------------
Received SNMP packet(s) from callback: 1 on fd 3
  GETNEXT message
    -- IF-MIB::ifOperStatus.4

Sending 1 bytes to callback: 1 on fd 3 
0000: 00                                                    .


Received 1 bytes from callback: 2 on fd 5
0000: 38                                                    8


Sending 1 bytes to callback: 2 on fd 5 
0000: 68                                                    h


Received 1 bytes from callback: 1 on fd 3
0000: 70                                                    p

Received SNMP packet(s) from callback: 1 on fd 3 
  GET message

Sending 1 bytes to callback: 1 on fd 3
0000: 68                                                    h


Received 1 bytes from callback: 2 on fd 5
0000: 70                                                    p 


Sending 72 bytes to UDP: [10.82.208.26]:162
0000: 30 46 02 01  00 04 07 6A  6C 74 74 72  61 70 A4 38    0F.....jlttrap.8
0016: 06 0A 2B 06  01 04 01 BF  08 03 02 0A  40 04 AC 14    ..+.........@... 
0032: 67 17 02 01  02 02 01 00  43 02 1A FA  30 1A 30 18    g.......C...0.0.
0048: 06 0A 2B 06  01 06 03 01  01 04 03 00  06 0A 2B 06    ..+...........+.
0064: 01 04 01 BF  08 03 02 0A                              ........ 

------------------------------------------------------------------------------------
       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
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.