error rpm

2008-05-28 Thread kian
Hi, When I run snmpd, recieve this error: error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. Please help me. Thanks - This SF.net email is sponsored by: Microsoft Defy all challenges.

cacheUptime Format

2008-05-28 Thread sivasakthi
Hi all, I have used snmpwalk program for getting the related information of snmp SQUID-MIB::cacheSysStorage.0 = INTEGER: 12320 SQUID-MIB::cacheUptime.0 = Timeticks: (255800) 0:42:38.00 If the Squid is continuously running from more than months or years then what is the format of cacheUptime

Re: error rpm

2008-05-28 Thread Dave Shield
2008/5/28 kian [EMAIL PROTECTED]: When I run snmpd, recieve this error: error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. What version of the agent are you using? Self-compiled or a binary distribution? What O/S distribution are you working on? Dave

Re: cacheUptime Format

2008-05-28 Thread Dave Shield
2008/5/28 sivasakthi [EMAIL PROTECTED]: If the Squid is continuously running from more than months or years then what is the format of cacheUptime is displayed.. is it displaying as the number of days or it may display like 2 month, 3 days 2:23:34:00 ? Number of days. From

Re: cacheUptime Format

2008-05-28 Thread sivasakthi
On Wed, 2008-05-28 at 09:14 +0100, Dave Shield wrote: 2008/5/28 sivasakthi [EMAIL PROTECTED]: If the Squid is continuously running from more than months or years then what is the format of cacheUptime is displayed.. is it displaying as the number of days or it may display like 2 month, 3

Re: cacheUptime Format

2008-05-28 Thread Dave Shield
2008/5/28 sivasakthi [EMAIL PROTECTED]: so what is displaying when the Squid continuously running more than month without stop?? SQUID-MIB::cacheUptime.0 = Timeticks: (28374238965239874) 173 days 0:42:38.00 (OK - the numbers are wrong, but that'd be the output format) Dave

Re: IP redirection

2008-05-28 Thread Dave Shield
2008/5/26 k_simplydev [EMAIL PROTECTED]: The private MIB is a customer MIB it could be only on the .20 site cause it is an embedded board. That's fine. What I actually meant was to run a GET or GETNEXT request *from* the 21 system directly, *to* the 20 system. And if i do requests from .21

Re: ./configure bug

2008-05-28 Thread Raghavendra Prasad
mv net-snmp-5.4.1/agent/mibgroup/MyFiles $HOME rm -rf net-snmp-5.4.1 tar xzf net-snmp-5.4.1.tar.gz cd net-snmp-5.4.1 ln -s $HOME/MyFiles agent/mibgroup/MyFiles configure --with-mib-modules=MyFiles/myFiles make Did as suggested above, the problem stil

Re: snmptrapd.conf

2008-05-28 Thread Dave Shield
2008/5/28 Peter Sonenberk [EMAIL PROTECTED]: After start snmptrapd I obtained this error message: NET-SNMP version 5.3.1 couldn't open udp:10.1.1.212:162 -- errno 98 (Address already in use) But there is only one daemon in this server - snmptrapd! Who uses port 162 with udp? Maybe there's

Corrupt VarBinds from SNMP.pm

2008-05-28 Thread Peter Hicks
Hello I'm using SNMP.pm 5.0401 from Debian's release of 5.4.1 which is 5.4.1~dfsg-7.1. Running the following code: #!/usr/bin/perl -w use strict; use warnings; use SNMP; my $sess = new SNMP::Session( DestHost = 'localhost', Community = 'public', Version = 2 ); my @vbl; push

RE: How to add mib file in net-snmp to perform SET operation.

2008-05-28 Thread Mike Ayers
From: rajesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 6:15 AM How to enable the logs and where the logs are written . Consult the LOGGING OPTIONS section of the snmpcmd(1) manpage for a complete explanation. I have added nstAgentModuleObject_c.c in Agent directory

Slow Loading Issue

2008-05-28 Thread Jimmy Conner
I've searched and searched, but haven't found anyone else with this issue. System: CentOS 4 completely up to date Net-SNMP: CentOS RPMs net-snmp-libs-5.1.2-11.el4_6.11.2 net-snmp-devel-5.1.2-11.el4_6.11.2 net-snmp-5.1.2-11.el4_6.11.2 net-snmp-utils-5.1.2-11.el4_6.11.2 Issue: command line

Re: Slow Loading Issue

2008-05-28 Thread Thomas Anders
Jimmy Conner wrote: command line binaries such as snmpwalk, etc... take 4-5 seconds to load before displaying results. For instance a simple snmpwalk -v 2c -c public 127.0.0.1 .1 You may want to try snmpwalk -v 2c -c public -m 127.0.0.1 .1 to suppress MIB loading. Does that help? +Thomas

Re: Slow Loading Issue

2008-05-28 Thread Jimmy Conner
On Wed, May 28, 2008 5:30 pm, Thomas Anders wrote: Jimmy Conner wrote: command line binaries such as snmpwalk, etc... take 4-5 seconds to load before displaying results. For instance a simple snmpwalk -v 2c -c public 127.0.0.1 .1 You may want to try snmpwalk -v 2c -c public -m

Re: Slow Loading Issue

2008-05-28 Thread Thomas Anders
Jimmy Conner wrote: Sorry, I meant to include that I already attempted that, and have even set the MIBS= enviroment variable without any improvement. A few more things to check: - Is there also a delay when using snmptranslate? - Is there the same delay when using snmpgetnext ... .1.3? - If

Re: Slow Loading Issue

2008-05-28 Thread Jimmy Conner
On Wed, May 28, 2008 6:06 pm, Thomas Anders wrote: Jimmy Conner wrote: Sorry, I meant to include that I already attempted that, and have even set the MIBS= enviroment variable without any improvement. A few more things to check: - Is there also a delay when using snmptranslate? Same

compilation with --without-rpm not working?

2008-05-28 Thread dan anderson
Hey all, I'm trying to compile net-snmp on x86 - one caveat being that I'm compiling from a different machine than it'll run on. After some minor haggling with the configure script and a whole lot of time reading old posts to this list and random webpages (and applying the results) it now

Re: A flurry of notifications at startup

2008-05-28 Thread lanas
Le Mardi, 27 Mai 2008 12:24:10 +0100, Dave Shield [EMAIL PROTECTED] a écrit : Try running monitor -S Hi, Thanks for the info. So here's the config now: notificationEvent linkUpTrap linkUp ifIndex ifAdminStatus ifOperStatus notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus

Re: IP redirection

2008-05-28 Thread Rabindra Paikaray
Hi All, I have configured net-snmp with disman/event and notification for linkup and down trap . My traget system is a mips-linux .While configuring I am getting a warning message like: configure: WARNING: Can't check sysctl, manually define NETSNMP_CAN_USE_SYSCTL if platform support available