RE: Hostname vs. IP sent in traps

2007-05-23 Thread David Arthur
:32 PM To: David Arthur Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Hostname vs. IP sent in traps On 22/05/07, David Arthur <[EMAIL PROTECTED]> wrote: > I use the send_v2trap function to send traps from the embedded subagent. > 1) Is there a way to send a hostname (rather tha

Re: Hostname vs. IP sent in traps

2007-05-22 Thread Dave Shield
On 22/05/07, David Arthur <[EMAIL PROTECTED]> wrote: > 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? You can append whatever varbinds you like to

Hostname vs. IP sent in traps

2007-05-22 Thread David Arthur
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_v2tr