HOST-RESOURCE::hrSWInstalledTable

2010-01-27 Thread Vivek Singh Bhadauria
HI All, I am using Net-SNMP 5.4.2.1. I want to get the list of installed software but hrSWInstalledTable is empty when I run snmpwalk command. My question is: Who will fill the hrSWInstalledTable? Its me or already implemented by the Net-SNMP. Thanks Vivek The INTERNET now has a perso

What these means: int majorID, int minorID, void *serverarg, void *clientarg

2010-01-27 Thread sanjaykumar
Hi All,     I am not able to understand the meaning of following parameters. As there numerous function in net-snmp-5.4.2.1 having following parameter. Could someone explain the meaning of these parameters in DETAILS. 1. int majorID 2. int minorID 3. void *serverarg 4. void *clientarg

Re: Net::SNMP usage

2010-01-27 Thread John Fulton
My mistake, sorry about that, it was tough to track down support for Net::SNMP and I thought I had the right mailing list. Thanks! -john Original message >Date: Tue, 26 Jan 2010 21:04:14 -0500 >From: max.schub...@gmail.com (on behalf of Max ) >Subject: Re: Net::SNMP usage >To: John

RE: SNMP v3 help

2010-01-27 Thread Mike Ayers
> From: Gaikwad, Rupesh [mailto:rupesh_gaik...@bmc.com] > Sent: Wednesday, January 27, 2010 3:34 AM > What would you suggest me to do if I have following requirement. > > 1. Receive V3 trap > > 2. Decode v3 trap somehow. I don’t know this step. > > 3. Print the values like, oi

Re: net-snmp compilation problem [solved]

2010-01-27 Thread Group
Hi Bart, With your configure command as reference, I have tried with ./configure --without-perl-modules --disable-embedded-perl --with-openssl="/usr". I'm able to compile the code with make: These are the last lines of the compilation: ... chmod a+x net-snmp-config touch net-snmp-config-x and fo

How to disable/enable SNMP V1 and V2 on the fly?

2010-01-27 Thread Chi . Guan
Hi, thank you all for the help of my previous questions. Problems were solved according to your answer. I have another question: I have an agent running for all the SNMP versions. 1. I want to disable/enable SNMP V1, V2 for the whole agent on the fly, What net-snmp command

Re: about net-snmp 64bits data

2010-01-27 Thread Alexander King
Dave,about 64bits data run on net-snmp I found something below,it is in the right direction? 00080 #define IS_CONSTRUCTOR(byte)((byte) & ASN_CONSTRUCTOR) 00081 #define IS_EXTENSION_ID(byte) (((byte) & ASN_EXTENSION_ID) == ASN_EXTENSION_ID) 00082 00083 struct counter64 { 00084

SNMP v3 help

2010-01-27 Thread Gaikwad, Rupesh
Hello All, I have configured snmptrapd and I can receive V3 AuthPriv traps very well on my test machine. But, now I want to know how I can receive and print trap from perl. I have searched many links and found Net-SNMPTrapd-0.02 > Net::SNMPTrapd. But this modules/ examples does not support v3. Oth

RE: SNMP v3 help

2010-01-27 Thread Gaikwad, Rupesh
What would you suggest me to do if I have following requirement. 1. Receive V3 trap 2. Decode v3 trap somehow. I don't know this step. 3. Print the values like, oid , agentaddr etc from a perl script. Best regards, Rupesh From: Gaikwad, Rupesh Sent: Wednesday, January 27, 201

Little OT - Mock agent for testing SNMP OIDs - any OID, would prefer to use Net-SNMP for the basis of this

2010-01-27 Thread Max Schubert
Hi all, I have been searching through the Net-SNMP source to see if there is a framework to do with with Net-SNMP, tried to set pass_persist up to do this, does not seem it will let me overwrite responses to built in OIDs. I really want a regression testing framework for our SNMP-based programs /

Re: about net-snmp 64bits data

2010-01-27 Thread Dave Shield
2010/1/27 Alexander King : > You also need to look again at how Counter64 values are handled in the > Net-SNMP agent.   Hint:  It's not a simple "long" or "long long" variable. > > I did this: > and use uint64_t in my c source code,is it right? No. Please look at how Counter64 objects are ha

about net-snmp 64bits data

2010-01-27 Thread Alexander King
-- Original -- From: "Dave Shield"; Date: Wed, Jan 27, 2010 05:23 PM To: "Alexander King"; Cc: "net-snmp-users"; Subject: Re: when snmpwalk query my private trap OID the snmpd routine auto termination 2010/1/27 Alexander King : > I checked the handler functi

Re: when snmpwalk query my private trap OID the snmpd routine auto termination

2010-01-27 Thread Dave Shield
2010/1/27 Alexander King : > I checked the handler function on systemJBODNumber and systemStatus, > objectively speaking,I hadnot found something apparently wrong contrast > to the other object handler function.I will check it more carefully again > later. Remember that you need to pass a pointer

RE: compiling net-snmp 5.5 on AIX 6.1 fails

2010-01-27 Thread Willem Hilders
I solved my problem: ./configure --without-kmem-usage --enable-static --enable-shared --prefix=/opt/freeware/net-snmp --with-default-snmp-version="3" --with-sys-location="Almere" --with-sys-contact="r...@sara.nl" --with-persistent-directory="/etc/snmp" --with-logfile="/var/log/snmpd.log" --with

RE: compiling net-snmp 5.5 on AIX 6.1 fails

2010-01-27 Thread Willem Hilders
I solved my problem: ./configure --without-kmem-usage --enable-static --enable-shared --prefix=/opt/freeware/net-snmp --with-default-snmp-version="3" --with-sys-location="Almere" --with-sys-contact="r...@sara.nl" --with-persistent-directory="/etc/snmp" --with-logfile="/var/log/snmpd.log" --with

Re: when snmpwalk query my private trap OID the snmpd routine auto termination

2010-01-27 Thread Alexander King
-- Original -- From: "Dave Shield"; Date: Tue, Jan 26, 2010 05:54 PM To: "Alexander King"; Cc: "net-snmp-users"; Subject: Re: when snmpwalk query my private trap OID the snmpd routine auto termination Thank you for providing the full code. Compiling this, i

Re: net-snmp compilation problem

2010-01-27 Thread Bart Van Assche
On Tue, Jan 26, 2010 at 8:05 PM, Group wrote: > Thanks for your reply. I have cygwin with full installation which includes > all the packages and also the openssl-0.9.8 package came from cygwin. Also, > i have openssl-devel package shown as already installed (This is confirmed > by going through