Re: Getsa and walks by name

2007-04-23 Thread Dave Shield
On 20/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The bigger surprise (and the one that I think is getting me) is that > even though both the daemon and the snmpwalk seem to _find_ the > DELL-CMC-MIB file, only the daemon _imports_ its definitions. >

Re: very simple exec usage

2007-04-23 Thread Dave Shield
On 20/04/07, Charles Sprickman <[EMAIL PROTECTED]> wrote: > If I really want to have certain lines in a script that returns multiple > lines be reported as integers, is there *anything* I can do to force that? > > Is there something beyond exec and extend that would make more sense? Let's take a s

Re: Cannot send V1 PDU on V2 session

2007-04-23 Thread Dave Shield
On 21/04/07, rama p <[EMAIL PROTECTED]> wrote: > For me also SNMP agent is sending both V1 and V2 traps to the configured > SNMP trap destinations . Here only the problem is with the below error > messages that are reported in the snmpd.log file for each trap. > > "snmpd: send_trap: Cannot send V1

RE: RE: about mib2c

2007-04-23 Thread Adam Bell
Would have to see the MIB you wrote. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reza Salehi Sent: Friday, April 20, 2007 5:00 PM To: SNMP FORUM Subject: Fwd: RE: about mib2c Thanks Adam, Even mib2c.iterate_access.conf makes empty c file. I ran this command with

RE: Getsa and walks by name

2007-04-23 Thread Donald_Wilde
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, April 23, 2007 5:10 AM To: Wilde, Donald Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getsa and walks by name On 20/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The

Re: Getsa and walks by name

2007-04-23 Thread Dave Shield
On 23/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > ./configure command line: > > > > # ./configure --enable-mini-agent --with-mibdirs="/etc/snmp/mibs" > > --with-mib-modules="DELL-CMC-MIB" > What you probably want is the configure options > >--with-mibs="+DELL-CMC-MIB" > > whic

Re: CPU utilization

2007-04-23 Thread Dave Shield
On 21/04/07, Ro <[EMAIL PROTECTED]> wrote: > How can i get the processor utilization statistics or its load average > when i running net-snmp under windows ? I don't believe that information is currently provided by the agent, because no-one has written the necessary code. Basically what would be

Re: Running on OSX?

2007-04-23 Thread Dave Shield
On 19/04/07, JASON MEYER <[EMAIL PROTECTED]> wrote: > I got version 5.0.9 to compile on an OSX 10.4 server but having trouble > getting it to run. The 5.0.9 release is fairly old by now, and is no longer being maintained. It's probably worth trying with one of the more recent versions (preferably

Re: NetSNMP::agent and ASN_COUNTER64

2007-04-23 Thread Dave Shield
On 19/04/07, Maxime Henrion <[EMAIL PROTECTED]> wrote: > It seems the NetSNMP::agent module can't deal properly with > ASN_COUNTER64 types. Whenever I try to use this type when calling the > setValue() method on the request object from an embedded perl agent, no > value is returned at all from the

RE: Getsa and walks by name

2007-04-23 Thread Donald_Wilde
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, April 23, 2007 9:31 AM To: Wilde, Donald Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getsa and walks by name On 23/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > .

Re: SNMPD not responding sometimes even though it is up and running

2007-04-23 Thread Dave Shield
On 18/04/07, Pamidipati Suresh-G20238 <[EMAIL PROTECTED]> wrote: > We are using Net-snmp-5.2.2 as master and subagent. We have an application > which sends snmpget request to SNMPD on OID 1.3.6.1.2.1.1.3.0 (sysUpTime) > every 10 seconds. > We noticed that sometimes SNMPD doesn't respond to snmp re

Re: make install putting perl files in wrong location

2007-04-23 Thread Dave Shield
On 18/04/07, Hamster <[EMAIL PROTECTED]> wrote: > I am trying to compile net-snmp 5.4 from source on an Ubuntu system. > > I am using a ./configure line that looks like: > ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man > --with-persistent-directory=/var/lib/snmp --enable-embedd

Re: Running on OSX?

2007-04-23 Thread Noah Gift
I am running OS X server on my laptop and just compiled last week and working just fine. On 4/23/07, Dave Shield <[EMAIL PROTECTED]> wrote: > On 19/04/07, JASON MEYER <[EMAIL PROTECTED]> wrote: > > I got version 5.0.9 to compile on an OSX 10.4 server but having trouble > > getting it to run. > > T

RE: Getsa and walks by name

2007-04-23 Thread Donald_Wilde
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, April 23, 2007 9:31 AM To: Wilde, Donald Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getsa and walks by name On 23/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > .

Re: Getsa and walks by name

2007-04-23 Thread Dave Shield
On 23/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Yes, it appears that our custom conf directory is not being utilized by > snmpwalk. The MIB is, but the conf file is not. That's the hole. The > snmpd has -C -c /path/to/conf/files as an option set, but snmpwalk has > no such options; Hmm

Re: Getsa and walks by name

2007-04-23 Thread Dave Shield
On 23/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Still no canaries singing. It doesn't like --with-mibs="+DELL-CMC-MIB", > it's trying to find a MIB with a plus in the name. Bother! > I'm going to have to > specify the whole set we want to lo

Fwd: Re: Re: RE: about mib2c

2007-04-23 Thread Reza Salehi
Thanks Dave. I did that modification but when I compile and run the code as subagent I am getting the Segmentation Fault Error. I just did very simple modification in the the data_set.c example. This error happens right before the netsnmp_table_set_multi_add_default_row() f

Re: Cannot send V1 PDU on V2 session

2007-04-23 Thread rama p
Hi Dave, The error is coming only when both trapsink and trap2sink lines are present in snmpd.conf file. I have given output of snmpwalk on snmpTargetAddrTable below. On 4/23/07, Dave Shield <[EMAIL PROTECTED]> wrote: On 21/04/07, rama p <[EMAIL PROTECTED]> wrote: > For me also SNMP agent is

how many address can trap2sink set

2007-04-23 Thread Clement Hsu
Dear All: I am Clement. I have a problem about trap2sink. How many address can snmpd agent can be set for sending trap? and how many community can trap2sink set in snmpd.conf . Can the following setting work? trap2sink 192.168.1.1 public 162 trap2sink 192.168.1.1 private 162 trap2sink 192.168.1.