problem using mib2c

2007-02-20 Thread anand anand
Hello all, I tried using mib2c for code generation. I get the following error ERROR: You don't have the SNMP perl module installed. Please obtain this by getting the latest source release of the net-snmp toolkit from http://www.net-snmp.org/download/ . Once you download the source and unpack

2 shared modules, serving 1 OID

2007-02-20 Thread Pilt
Hi all, I need to add a couple of interfaces to the ifMIB which are not automatically recognized so that I would be able to collect statistics for them. Is it possible to extend current if-mib implementation without rewriting the code, provided in net-snmp by default? I mean, can I write anoth

Other way to include mib module other than configure?

2007-02-20 Thread Shuaib Siddiqui
Hi, Is there any other way to include a new mib module without using "*./configure --with-mib-modules=myMib" ... * thanks shuaib -- MSc in Communication Systems I&C Faculty EPFL Switzerland Home page: http://shuaibe.googlepages.com/ ---

Re: Other way to include mib module other than configure?

2007-02-20 Thread Dave Shield
On 20/02/07, Shuaib Siddiqui <[EMAIL PROTECTED]> wrote: > Is there any other way to include a new mib module without using > "./configure --with-mib-modules=myMib" ... Please see the FAQ entries http://www.net-snmp.org/wiki/index.php/FAQ:Agent_06 and http://www.net-snmp.org/wiki/index.php/

Issue regarding the SIGHUP

2007-02-20 Thread bharath.yadlapalli
ALL, I am trying with manually editing the /var/net-snmp/snmpd.conf. And adding the following lines for creating snmp v3 users. createUser snmpv3user MD5 password DES password createUser anotheruser MD5 password DES After saving this file, I am sending a SIGHUP signal, using the command k

understanding testhandler.c

2007-02-20 Thread Porat, Dan
Hello All! I am trying to figure out how my_test_handler works. When a Net-Snmp with oid {1,2,3,4} , my_test_handler is called . The oid which appears inside my_test_handler is not the one which this fuction is registered on . Why is that ? What is the use of the OID inside that function ?

Re: Other way to include mib module other than configure?

2007-02-20 Thread Shuaib Siddiqui
Hi, I would like to add the mib module by compiling it, not through dynamic loading. I have put the required .c and .h files of the new mib in the required folder. What i want to know is what does "--with-mib-modules=myMib" option do which makes the new mib to be included, because i just want to

Re: Other way to include mib module other than configure?

2007-02-20 Thread Dave Shield
On 20/02/07, Shuaib Siddiqui <[EMAIL PROTECTED]> wrote: > What i want to know is what does "--with-mib-modules=myMib" > option do which makes the new mib to be included, because i just want to by > pass the configure script. The files that it updates are: agent/Makefile ag

my queries are being bounced?

2007-02-20 Thread Adam Bell
My queries to the users list are being bounced. I have already registered as a user. What to do? Adam J. Bell Technical Director SafeNet Inc. cell 443-838-5361 Office 443-327-1340 [EMAIL PROTECTED] The information contained in this electronic mail transmiss

FW: How to reduce the footprint of net-snmp? - Continued

2007-02-20 Thread Adam Bell
Reposting a bounced post from yesterday _ From: Adam Bell Sent: Monday, February 19, 2007 4:23 PM To: [EMAIL PROTECTED] Subject: How to reduce the footprint of net-snmp? - Continued I was following the thread for reduction of footprint size and tried the suggestion. After trying

FW: perl and mib2c

2007-02-20 Thread Adam Bell
Reposting a bounced message from yesterday _ From: Adam Bell Sent: Monday, February 19, 2007 4:27 PM To: [EMAIL PROTECTED] Subject: perl and mib2c I am trying to build mib2c and I am getting an error OID 5.1 not found. I did find many references to this in the archives - but no r

adding interfces in MIB2 interfaces table

2007-02-20 Thread Porat, Dan
We would like to add interfaces to the interfaces MIB under MIB II. i.e. use the default ability of Net-snmp to retrieve data about the system interfaces and add to it interfaces which Net-SNMP cannot retrieve. Is that possible ? How do we do it ? Best Regards

RE: Net-snmp 5.3.1 trouble sending v3 trap

2007-02-20 Thread Stephen Yu
It seems that I have to specify the engineID now. I replaced the line with Trapsess -e -v3 -lauthNoPriv -uuser3 -aMD5 -Apassword3 where the engineID is extracted from /var/net-snmp/snmpd.conf. Now everything works. I don't have to do this before. Thanks, Stephen -Original Message- Fro

Net-SNMP and Cacti install

2007-02-20 Thread Carey, Michael
Hi all. I'm new to Net-SNMP and even newer to Red Hat Linux (the machine I'm attempting this install on). I'm installing Net-SNMP to work with Cacti and Cacti cannot find the path of the snmpwalk and snmpget programs. I re-ran my install and notice the following errors when entering make and mak

Re: Net-SNMP and Cacti install

2007-02-20 Thread John Clinton
I believe you need OpenSSL libraries installed, prior to your build for NetSNMP based on the error messages below. I am sure there is an RPM you can get for RedHat for OpenSSL. Regards, John On 2/20/07, Carey, Michael <[EMAIL PROTECTED]> wrote: Hi all. I'm new to Net-SNMP and even newer to

Re: How to get snmptrapd to work?

2007-02-20 Thread Steve Kittleson
Thanks! Appearently I was looking at an older man page for snmptrapd.conf. Dave Shield wrote: >On 15/02/07, Steve Kittleson <[EMAIL PROTECTED]> wrote: > > >>Using net-snmp 5.4, I can't get snmptrapd to receive and display ANY traps. >> >>Can someone please provide the exact config (for snmptrap

RE: Net-SNMP and Cacti install

2007-02-20 Thread Carey, Michael
That was the fix. Compile OpenSSL and then re-compile NetSNMP. Thanks for your help. Mike Carey Information Technology Services The Pennsylvania State University [EMAIL PROTECTED] , 814-863-7712 _ From: John Clinton [mailto:[EMAIL PROTECTED] Sent: T

Re: Net-SNMP and Cacti install

2007-02-20 Thread Dave Shield
On 20/02/07, John Clinton <[EMAIL PROTECTED]> wrote: > I believe you need OpenSSL libraries installed, prior to your build for > NetSNMP based on the error messages below. I am sure there is an RPM you > can get for RedHat for OpenSSL. See The compilation is complaining about missing librari

cpu usage through UCD-SNMP-MIB::systemStats

2007-02-20 Thread toc2 techie
Hi, I am not able to get cpu usage data while doing a snmpwalk using UCD-SNMP-MIB on my test-server bash-3.00$ /usr/sfw/bin/snmpwalk -c public -v 1 test-server> UCD-SNMP-MIB::systemStats bash-3.00$ /usr/sfw/bin/snmpwalk -c public -v 1 test-server .1.3.6.1.4.1.2021.12 # /bin/snmpd --version NE