Hostname vs. IP sent in traps

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


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-22-2007
David Arthur
 
Posts: n/a
Default Hostname vs. IP sent in traps

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0