Dear William,

Thanks for the suggestion.  If I am not mistaken, this means I have to
set it directly on the standard "community" field of the SNMP probe
right?  This field is a password/hidden field which means the user won't
be able to see what they type.
Or is there a way where I can have a custom text field for the "ID",
then in the probe, programmatically append the community string with the
ID to the form: "public@ABC1234"

Thanks,
Leonard Siu

-----Original Message-----
From: William Fisher [mailto:[email protected]] 
Sent: March-19-11 12:42 AM
To: InterMapper Discussion
Cc: QDS - Leonard Siu
Subject: Re: [IM-Talk] Sending Parameter with an SNMP Get request to
device

On 3/17/11 9:41 AM, QDS - Leonard Siu wrote:
> Thanks for your response.  I am actually writing an SNMP Agent which
requires InterMapper to send me a "ID" (a OctetString) which I use to
provide a proper response for a InterMapper custom-snmp probe.

If you are using SNMPv1 or SNMPv2c, you will need to encode the ID in 
the community string. For example, to obtain the reading from sensor 
ABC1234, you could use a community string of the form "public@ABC1234"

If you are using SNMPv3, you can set the "context name" value to the ID 
of the sensor.  (The InterMapper GUI lets you specify the context name 
for an SNMPv3 probe by setting the user name to "user@context").

Your SNMP agent will need to examine the community string or context 
name to provide the proper response.

-- 
Bill Fisher
Dartware, LLC
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]

Reply via email to