Re: Is it necessary to be root to install Net-SNMP

2008-05-28 Thread Raghavendra Prasad
Hi all, I thought it would probably help if I gave more information about configure options that I using: configure 1: ./configure --with-mib-modules="examples/notification" Configure 2: ./configure --with-mib-modules="dio_modules/snmpData dio_modules/controller dio_modules/controller_trap

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 But

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 ifAdminSta

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 compiles

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?

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 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 publ

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? +

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: 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 direc

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: 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? May

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

snmptrapd.conf

2008-05-28 Thread Peter Sonenberk
Dear Sirs, I wanted to use snmptrapd in the Linux server (there is Linux Fedora Core 6). There is my simple configuration file /etc/snmp/snmptrapd.conf # snmptrapd.conf # snmpTrapdAddr udp:10.1.1.212:162 # pidFile /var/run/snmptrapd.pid # authCommunity log public # This server

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 .

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: 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

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 snmplib/mib.c

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 -

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 is

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. Micro