This is a discussion on Hostname vs. IP sent in traps within the SNMP Users forums, part of the Networking and Network Related category; Hello all, I am using Net-SNMP 5.3.1 libraries from an embedded AgentX subagent on Suse Linux Enterprise ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello all,
I am using Net-SNMP 5.3.1 libraries from an embedded AgentX subagent on Suse Linux Enterprise Server 9. I use the send_v2trap function to send traps from the embedded subagent. 1) Is there a way to send a hostname (rather than IP address) using the snmp_varlist_add_variable()/send_v2trap() scheme? 2) If I use the snmptrap command and specify the hostname I am sending it from, the IP address always appears at the management station end. Is this behavior determined by the management station, or is the hostname resolved to an IP and *then* sent in the trap? Thank you in advance for any insight on this! Dave A. ------------------------------------------------------------------------- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |