Stop

2010-07-06 Thread MICHAEL KOFKA
-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Net-snmp-users

Re: Need help with snmpwalk, etc - multiple source interfaces or ipaddresses

2010-07-06 Thread Dave Shield
On 6 July 2010 14:18, srenivasan rs wrote: > Is there any way I can specify the source interface-name/ip-address while > using tools like snmpwalk, snmpget, etc? $ man snmp.conf clientaddr [:] specifies the source address to be used by command-line applications

Need help with snmpwalk, etc - multiple source interfaces or ipaddresses

2010-07-06 Thread srenivasan rs
Hi, I have multiple interfaces(lan0 - 1.1.1.1, lan1 - 2.2.2.2, lan2 - 3.3.3.3) in my HPUX machine. Is there any way I can specify the source interface-name/ip-address while using tools like snmpwalk, snmpget, etc? Thanks in advance, R Srinivasan

location the specify column in multiple rows

2010-07-06 Thread Alexander King
Your meaning is the DisMan can deal with the table objects monitor,can you give me a example? and how the sentv2trap deal with when the monitor object is one column of the row? That is to say,How I can mapping the data in the send_uitUPSTraps_trap( void ) function,especially the upsXID,upsS

Configure the snmp in IPv6 mode at RUN time

2010-07-06 Thread sanjaykumar
Hi All, I have configure the net-snmp-5.4.2.1 in IPv6 mode. As the default configuration snmp will run into ipv6 mode only if it is configure in IPv6 mode i.e. based on following macro : "#define NETSNMP_ENABLE_IPV6 1" Am I right ??? What are the changes are required if I need to con

Re: snmp_parse_oid usage

2010-07-06 Thread Dave Shield
On 6 July 2010 10:37, Norasyikin MD Ali wrote: >      snmp_set_var_typed_value(idx, ASN_OBJECT_ID, >                   value,rootlen); Try snmp_set_var_typed_value(idx, ASN_OBJECT_ID, root, rootlen); You need to provide it with the parsed OID array value, not the string version. Dave

snmp_parse_oid usage

2010-07-06 Thread Norasyikin MD Ali
Hello, I'm trying to build an agent to handle ASN_OBJECT_ID types. Everywhere in my application code i define the OIDs as a string (also the way i concatenate them with table indexes). In the agent : char *value; oid root[MAX_OID_LEN]; int rootlen = MAX_OID_LEN; case TR_MIB_OID: value

interpreting the output of dumppacket 1

2010-07-06 Thread ganeshyellapu
hi, i put dumppacket 1 in snmp.conf and snmpget -v 2c c public localhost sysLocation.0 is showing hexadecimal numbers. how to interpret these numbers? thank you with regards ganesh y Visit BEL WebsiteConfidentiality Notice The information contained in this electronic message and any