snmptrapd can listen to both IPv4 and IPv6 Traps?

2010-07-02 Thread anand chandragandhi
Hi, Can netsnmp listen to both IPv4 and IPv6 trap simultaneously. Regards, Anand C -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first --

Re: snmptrapd can listen to both IPv4 and IPv6 Traps?

2010-07-02 Thread anand chandragandhi
Can netsnmp listen to both IPv4 and IPv6 trap simultaneously. -Anand -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first --

How to make snmptrapd to use config file dynamically

2010-05-12 Thread anand chandragandhi
Hi All, Intially I have two users in my config file (snmptrapd.conf) as shown below (sampletest and sampletest1 are two users) createUser -e 0x010203040506 sampletest MD5 sampletest DES sampletest authuser log sampletest createUser -e 0x010203040507 sampletest1 MD5 sampletest1 DES sampletest1

How to make snmptrapd to listen only 1 destination

2010-05-12 Thread anand chandragandhi
Hi All , I have registered trap for one community string say public. Assume there are 3 SNMP devices in a network namely SNMPDev-A,SNMPDev-B,SNMPDev-C. I want to receive trap from only SNMPDev-A . How to make snmptrapd to ignore traps from SNMPDev-B and SNMPDev-C?. Thanks in Advance, Anand C

How to add dynamically created usm user to config file?

2010-05-12 Thread anand chandragandhi
Hi All, I have created usm users dynamically throush usm_add_user(usmUser*) function. How to save the same in to config file dynamically? Thanks in Advance, Anand C -- ___

snmp_send is blocked until it get the response

2009-12-20 Thread anand chandragandhi
I use snmp_send for sending v3 request asynchrnously but snmp_send is blocked until it get the response in case of proper SNMP device,blockled till the timeout in case of Non SNMP devices. Though i use asynchrnous API why snmp_send/snmp_async_send behaves as synchrbnous API?

IPrangediscovery

2009-12-20 Thread anand chandragandhi
HI, I want to discover SNMP devices in a given network. I use aynchrnous mode of operation for sending request. In a given subnet example 254 nodes I noticed if i create 254 sessions and send requests asynchronous, then my application is hanged. Whereas if i open 50 session wait for all

MaxNetsnmpSessions

2009-12-20 Thread anand chandragandhi
I open some 60 netsnmp sessions and send requests aynchrnous. I noticed i am not getting callback for some requests. Can anyone tell if i am doing something wrong Thanks , Anand C -- This SF.Net email is

SNMPv3 setup for windows.

2009-11-18 Thread anand chandragandhi
Hi All, I am new to net-snmp. Anyone help me providing link or suggest any procedure for worksetup for SNMPv3. I will be writing my application using VC++. My specific needs are A DO i need to compile net-snmp binaries separtely for SNMPv3 or use directly from downloadable site?

Intial : security name how to use it

2009-05-08 Thread anand chandragandhi
Hi, I am using I-reasoning MIB browser . From the ethereal logs i can see 1st request it send to snmp device has security name as (Initial). Next request onwards it sends my username . I knew Inital security name used to discover the engine id device. Please any one tell what will be the

What is initial - security name denotes?

2009-05-08 Thread anand chandragandhi
Hi, I am using I-reasoning MIB browser . From the ethereal logs i can see 1st request it send to snmp device has security name as (Initial). Next request onwards it sends my username (eg;:devicetest) along with auth and priv keys. Is Initalsecurity name used to discover the engine id device.?

How to get remote snmp device engine boot and engine time (is there any specific oid to retrieve it)

2009-04-28 Thread anand chandragandhi
I need to know the snmp engine id and engine boot and engine time of remote device How to discover that . We have a stub code which sends 10 requests using SNMPv3 to the target MFP. 1. After sending 5 requests, Restart the MFP(snmp device) and wait for MFP to reboot completely 2. Then

Is it true that the fact if i use the engine id netsnmp wont probe the snmp agent again and again

2009-03-31 Thread anand chandragandhi
Is it true that the fact if i use the engine id netsnmp wont probe the snmp agent again and again Else in otherwords if i use enging id for the first request it wont probe? --

How to handle engine id for SNMPv3 for reuse of session(My program is multithreaded)

2009-03-30 Thread anand chandragandhi
Hi, Warm Greetings. How to handle engine id for SNMPv3 for reuse of session(My program is multithreaded) I dont want to create context every time . Also i h ave 200 devices in my my network and i cant store 200 context also is there any possible way i can do the same with engind id. Thanks

How to handle engin-ID for SNMPv3 for re-use the session

2009-03-29 Thread anand chandragandhi
Warm Greetings I have already mede a request to printer(an snmpv3 device ) . I want to reuse the engine id for next request please let me know how to do this . IMP NOTE: I want to reuse engine id. Thanks in advance , Anand C

RE:OID RETRIVAL in form of string (SNMPV1)

2009-03-05 Thread anand chandragandhi
Hi. I want to get the oid alone from response packet in string format eg:1.3.6.1.2.1.1.1.0 Purpose is: I am sending getnext for this OID 1.3.6.1.2.1.4.20.1 The response packet has value IP addr(eg:172.19.240.43) and OID is 1.3.6.1.2.1.4.20.1.1.172.29.240.43(this i captured in ethereal and

RE:Give Authentication key and private key in snmpv3

2009-02-26 Thread anand chandragandhi
Hi, I need to give Authentication key and private key for snmpv3 to ping HP MFP which accets 16byte hex value (eg:**) instead of *string*. Note:If MFP has regular string as password i didnt face any pbm. Please help me in resolving this. Thanks in advance,

Retrieve Value

2009-02-25 Thread anand chandragandhi
HI, Using netsnmp stack ,we are not able to retrieve the result value and oid directly. For eg Get request for 1.3.6.1.2.1.1.1.0 gives * SNMPv2-MIB::sysDescr.0 = STRING: SHARP-MX-2700G *(print_variable API is used) or * STRING: SHARP-MX-2700G* (print_value API is used) we are supposed to