Re: Net::SNMP usage

2010-01-26 Thread Max
Hi John, Wrong list, Net::SNMP is not associated with the Net-SNMP project, though Net::SNMP works very well with the Net-SNMP agent. See the perldoc for Net::SNMP, it explains clearly how to access variables in the returned hash. I use Net::SNMP extensively, if you have problems after reading t

Net::SNMP usage

2010-01-26 Thread John Fulton
I have several monitoring scripts that pull SNMP stats off of switches and routers that I have used for the past 10 years using perl by running snmpget and parsing the program output into variables: Ex: === open(GETIN, "/usr/bin/snmpget -Oqf -v2c -c public 192.168.1.20 interfaces.ifTable.ifEntr

Re: net-snmp compilation problem

2010-01-26 Thread Group
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 the setup.exe, and selecting openssl-devel, the status i

SNMPD high CPU usage

2010-01-26 Thread Alex Mutz
Hi everyone, on one of my linux routers I'm running snmpd with the following configuration: rocommunity router1v2 192.168.1.1 >From time to time the snmpd process will spike the load high and then go back to normal. The cpu usage goes to 100% and stays there for like a minute or two and then goe

Re: compiling net-snmp 5.5 on AIX 6.1 fails

2010-01-26 Thread Thomas Anders
Willem Hilders wrote: > When I compile net-snmp version 5.5 on my AIX 6.1 machine I get the > errors underneath when I issue the make statement. Any one any idea how > to solve this > > In file included from /usr/include/sys/cred.h:49, > from /usr/include/sys/file.h:32, >

Re: compiling net-snmp 5.5 on AIX 6.1 fails

2010-01-26 Thread Fulko Hew
On Tue, Jan 26, 2010 at 10:14 AM, wrote: > William, > > I have had successful compilations on AIX 5.1 and 5.3 with 5.5. What > is the configure line you used and gcc version? > > John > > Quoting Willem Hilders : > > > Hi All > > > > When I compile net-snmp version 5.5 on my AIX 6.1 machine I ge

Re: compiling net-snmp 5.5 on AIX 6.1 fails

2010-01-26 Thread netsnmp
William, I have had successful compilations on AIX 5.1 and 5.3 with 5.5. What is the configure line you used and gcc version? John Quoting Willem Hilders : > Hi All > > When I compile net-snmp version 5.5 on my AIX 6.1 machine I get the > errors underneath when I issue the make statement.

compiling net-snmp 5.5 on AIX 6.1 fails

2010-01-26 Thread Willem Hilders
Hi All When I compile net-snmp version 5.5 on my AIX 6.1 machine I get the errors underneath when I issue the make statement. Any one any idea how to solve this Thanks in advance In file included from /usr/include/sys/cred.h:49, from /usr/include/sys/file.h:32,

Re: net-snmp compilation problem

2010-01-26 Thread Bart Van Assche
On Mon, Jan 25, 2010 at 11:22 PM, Group wrote: > I could see openssl installed from cygwin as (though i haven't explicitly > installed) > $ openssl version > OpenSSL 0.9.8l 5 Nov 2009 > > Is openssl-devel not included in openssl? > If not. Which version do i need to install?. Do we have any versi

Re: Adding support for DS1 port details

2010-01-26 Thread Malathi Panyam
Hi, Thanks for the response, we dont need to support the RFC 4805 completely, but we need to be able to send the following details ifType, ifDesc, ifAdminStatus, ifOperStatus, ifLastChange and ifOutErrors for DS1 and E1. I checked the MIBs listed under /usr/share/snmp/mibs/ but I dont fin

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

2010-01-26 Thread Dave Shield
Thank you for providing the full code. Compiling this, it became clear very quickly that the problem is nothing to do with the handling of notifications. I tried the following: - Commented out all of the code relating to traps; compiled the agent; walked your subtree. This listed

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

2010-01-26 Thread Alexander King
Dave: I am sorry. I use net-snmp v5.4.2.1,default installation,config files put /usr/local/share/snmp/ . the pc run snmpd,snmptrapd is Gentoo 64bits,my LAN ip start 172.19.0.0/16,we use 172.19.50.0/24 in my department. Wait for your good news. 陈亚朴

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

2010-01-26 Thread Dave Shield
2010/1/26 Alexander King : > I attached the full MIB file by attachment, > I do not intend mail you the source code files. If I don't have the source code, I cannot test whether this module crashes the agent. I do not have the time to waste guessing what might be wrong from incomplete inform