RE: Agent IP Address of Snmp V2c regarding.
"Pamidipati Suresh-G20238" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi karthik, I am using Net-snmp-5.2.2. I have started snmptrapd using the following options. The option "%b" will print the source address of the trap (Agent's IP address). I hope the same option works for Net-snmp-5.4.1.1 as well. snmptrapd -M ":/usr/share/snmp/mibs" -mALL -P -F "%#02.2h:%#02.2j TRAP%w.%q from %A:%b\n Enterprise String: %N\n Trap type:%w Trap Subtype:%q\n VarBinds %v\n" Regards, Suresh. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of karthik krishnamurthy Sent: Friday, July 04, 2008 4:05 PM To: [email protected] Subject: Agent IP Address of Snmp V2c regarding. Hi, I am trying to attach a varbind for snmp V2c trap. This is because SNMPV2C trap doesnt contain the agent Ip address of the trap. So, I am trying to attach the agent IP Address as a varbind to the trap. Can you help me how I can do that? I am using Net-snmp 5.4.1.1 source code. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ 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