SNMPv1 question

"Changchun Zhao" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm running net-snmp-5.2.1 on Solaris 8.

I configured snmpd.conf to send v1 trap like this:
--------------
..
monitor  -r 10 -o ifDescr "Generate linkUp" ifOperStatus == 1
monitor  -r 10 -o ifDescr "Generate linkDown" ifOperStatus != 1
..
trapsess  -v 1 -c public 172.16.0.237:162
--------------

and I have client address in snmp.conf like this:
--------------
clientaddr  10.1.4.10
--------------


Now it comes out two problems with the SNMPv1 trap:
1) on trap receiver, the trap message shows it's from 1.1.0.10 but not 
10.1.4.10 which I put in snmp.conf file on snmpd machine. And the address 
1.1.0.10 is snmpd machines' first interface's IP address, which is not 
routable to the trap receiver (172.16.0.237). but if use snmptrap to send 
trap to the same trap receiver, the receiver shows the address is 10.1.4.10.

2) on trap receiver, the trap message contains SNMPv2 mib information, but I 
did use SNMPv1 to send the trap.

attached below is one SNMPv1 trap message for ethernet Link up:
--------------------
1.1.0.10: Enterprise Specific Trap (.1) Uptime: 0:00:10.05, 
SNMPv2-SMI::mib-2.88.2.1.1 = STRING: "Generate linkUp", 
SNMPv2-SMI::mib-2.88.2.1.2 = "", SNMPv2-SMI::mib-2.88.2.1.3 = "", 
SNMPv2-SMI::mib-2.88.2.1.4 = OID: IF-MIB::ifOperStatus.2, 
SNMPv2-SMI::mib-2.88.2.1.5 = INTEGER: 1, IF-MIB::ifDescr.2 = STRING: e1000g0
--------------------

Could anyone help me to figure out if anything wrong in my configuration?

Thanks in advance.
Changchun




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.