Error: Wrong Type (should be Gauge32 or Unsigned32)

2005-03-16 Thread manik chopra
Hello Everyone, I am getting following error when 'walking' through a MIB (DiffServMib - RFC 3289) via NET-SNMP: DIFF-SERV-MIB::diffServMultiFieldClfrId.1 = Wrong Type (should be Gauge32 or Unsigned32): INTEGER: 14 DIFF-SERV-MIB::diffServMultiFieldClfrAddrType.1 = INTEGER: 14 DIFF-SERV-MIB::diffS

how to add a monitor dynamicly?

2005-03-16 Thread Sim Wind
hi, everyone   i add a monitor in snmpd.conf at the agent, like this monitor -o prNames -o prErrMessage "process table" prErrorFlag != 0 now i want to implement the function at the manager, the manager adds the specified monitor dynamicly, not to modify snmpd.conf. how to do it?   i'm sorry for my

Re: The continuing story of SolarWinds and net-snmp, Chapter 2

2005-03-16 Thread Robert Story
On Wed, 16 Mar 2005 17:13:24 +0100 Mohr wrote: MJ> Here is the next installment... MJ> MJ> SolarWinds reads the (deprecated) ssCpuIdle OID instead of ssCpuRawIdle. MJ> So, in my mind, whether or not it is a "problem" with a version on MJ> net-snmp, SolarWinds is reading the wrong MIB. Try walkin

Re: Table in a Trap

2005-03-16 Thread Robert Story
On Wed, 16 Mar 2005 11:33:27 +0530 Sridhar wrote: SS> I think, you cannot have a table as part of OBJECTS definition in SS> NOTIFICATION-TYPE macro (SNMPv2-SMI). Alternate is to list the all table SS> objects in the OBJECTS. Correct. There are no SNMP operations that act on tables. Everything is b

Re: snmptrapd with Host Resource Mib

2005-03-16 Thread Robert Story
On Tue, 15 Mar 2005 18:00:18 -0500 John wrote: JK> I have been able to set up the following expression form the Host JK> Resource Mib. JK> JK> expression: 1.3.6.1.2.1.25.2.3.1.6. / .1.3.6.1.2.1.25.2.3.1.5. * 100. JK> JK> This expression works fine and I can validate it with df -k and check JK>

Re: Add Host Resources MIb to Agent

2005-03-16 Thread Robert Story
On Tue, 15 Mar 2005 08:41:59 -0700 Bruce wrote: BS> AFAIK HOST-RESOURCES-MIB is included by default. Nope, not yet. Probably will be in 5.3. You have to explicity enable it with '--with-mib-modules=host'. -- Robert Story; NET-SNMP Junkie Support: Archive:

Re: A problem with ./configure

2005-03-16 Thread Robert Story
On Sun, 13 Mar 2005 17:03:40 + Jordi wrote: JMT> Hi, I'm trying to install the net-snmp agent, but when I put the line JMT> JMT> $./configure --with-perl-modules JMT> JMT> the next message appears: JMT> JMT> configure: error: no acceptable C compiler found in $PATH What do you get if you ru

Re: building minimal agent

2005-03-16 Thread Robert Story
On Sat, 12 Mar 2005 12:37:03 +0300 Peter wrote: PVS> I'm trying to build minimal agent, that will only monitor cpu/memory and PVS> interfaces usage. The size of the built package is critical, so, I'd PVS> prefer to not include deps like librpm etc. PVS> make && make install INSTALL_PREFIX=/home/p

Re: I got following queries about net-snmp

2005-03-16 Thread Robert Story
On Fri, 11 Mar 2005 01:04:56 -0500 Vijay wrote: VK> If I have an solstice agent running on Solaris 8, how do I run an net-snmp VK> agent and snmpdx running on same machine. VK> Has anybody used a net-smpd subagent on solaris 8 with both snmpdx and VK> net-snmpp snmpd running. see README.solaris.

Re: Need for MIB?

2005-03-16 Thread Robert Story
On Fri, 11 Mar 2005 09:32:45 +0530 Jude wrote: JAA> I was told that we need to create MIBs ( Notification Type MIBs ) to send JAA> Traps. Nope. MIBs define objects and types. If both sides already know what an OID means, there is no need for a MIB. MIBs are usually for humans. JAA> Now I wanted t

Re: Net-snmpd stops responding.. Or is it the network?

2005-03-16 Thread Robert Story
On Thu, 10 Mar 2005 11:29:29 -0500 Jeff wrote: JM> Strangely, I have no troubles pulling SNMP v2 and v3 from hosts on the JM> same subnet as the monitoring system, but I DO have issues when pulling JM> queries from systems on other subnets. Are all hosts running the same version of net-snmp?

Re: subagent question

2005-03-16 Thread Robert Story
On Thu, 10 Mar 2005 11:07:09 +0530 Vishwanath wrote: VK> Can SNMP subagent written/compiled with net-snmp master agent work with VK> a different SNMP master agent (might be propratery)? Yes. -- Robert Story; NET-SNMP Junkie Support: Archive:

Re: How to monitor a counter32 oid?

2005-03-16 Thread Robert Story
On Thu, 10 Mar 2005 12:54:18 +0800 xdlhf wrote: X> Now I want to monitor a counter32 mib oid, e.g ipInRecieves, when the X> recieved packets in 5 second is greater than a number, snmpd sends a trap to X> manager. X> so how should i do it? There is no support for this directly in the agent. You c

Re: include conf

2005-03-16 Thread Jose Dragone
Fine Thanks Jose Robert Story wrote: On Wed, 09 Mar 2005 21:33:39 -0300 Jose wrote: JD> Is there any way to add different configurations to different hosts in JD> snmpd.conf , as for instance: JD> JD> include roll-1.conf JD> include server-2.conf JD> include database-3.conf JD> JD> And then t

Re: snmptrapd with Host Resource Mib

2005-03-16 Thread John Kokidko
Bruce I have also been reading EXAMPLE.conf which is very informative as well. Thank you John Kokidko Bruce Shaw wrote: That's what DISMAN-EVENT-MIB is for. Read the long explanation in README.solaris. > I am working with the server team here and guessing that, if say a disk reached

Re: include conf

2005-03-16 Thread Robert Story
On Wed, 09 Mar 2005 21:33:39 -0300 Jose wrote: JD> Is there any way to add different configurations to different hosts in JD> snmpd.conf , as for instance: JD> JD> include roll-1.conf JD> include server-2.conf JD> include database-3.conf JD> JD> And then to point (link) with these include files

Re: I got following queries about net-snmp

2005-03-16 Thread Robert Story
On Mon, 14 Mar 2005 22:56:33 -0500 Vijay wrote: VK> How do we attach a sub agent to a master agent? VK> Is their a command for sub agent process to attach to the master? See the example sub-agent in the tutorial section of the web site. -- Robert Story; NET-SNMP Junkie Support:

Re: TIME OUT

2005-03-16 Thread Robert Story
On Tue, 8 Mar 2005 21:54:45 +0530 Jude wrote: JAA> and am sending the trap to the local machine. It works fine. Now if i JAA> need to send TRAP to a remote machine(192.169.10.2) does changing the JAA> localhost address to this address solve the problem. The 5.2 release had an issue sending tra

Re: Informsink meaning!

2005-03-16 Thread Robert Story
On Fri, 11 Mar 2005 10:28:05 +0100 Alexandre wrote: AP> - what happens on agent side, when an ACK to an inform trap is received ? Other than deleting the PDU used to send the inform, nothing. AP> - what happens when there is no ACK to an inform trap ? The agent will try to send it a few times (y

Re: Informsink meaning!

2005-03-16 Thread Robert Story
On Thu, 10 Mar 2005 01:41:33 +0530 Jude wrote: JAA> I have enabled Informsink but i get the SNMPD:send_request() error. JAA> JAA> WHy is that?? I'm guessing that the peer you are sending to isn't listening, or doesn't support informs. JAA> Is there any prblem if we comment informsink? If so wat

Re: How to attach proprietary system to Net-Snmp?

2005-03-16 Thread Robert Story
On Sun, 13 Mar 2005 12:18:35 +0100 Ekkehard wrote: ED> Example: ED> One Device is a thermometer another is a humidity device. The themometer ED> gives degrees in Integers from -50 to +100 °C, the humidity device gives ED> relative percentage from 0 to 100 rel. humidity. ED> Assuming we have one the

Performance Analysis Load Generators for SNMP

2005-03-16 Thread nelson . yik
Hello everyone,   I’m trying to find performance analysis tools like InterWatch, CAW, Transaction Blaster, that I will be able to test loads on.  I haven’t had much luck looking for these products since the product must be able to generate and support SNMP.  I’m looking into being able to

Re: snmptrapd with Host Resource Mib

2005-03-16 Thread John Kokidko
Bruce I am checking it out now, it appears not to have been loaded, with current system's, net-snmp agent. John Bruce Shaw wrote: That's what DISMAN-EVENT-MIB is for. Read the long explanation in README.solaris. > I am working with the server team here and guessing that, if say a disk

RE: snmptrapd with Host Resource Mib

2005-03-16 Thread Bruce Shaw
That's what DISMAN-EVENT-MIB is for. Read the long explanation in README.solaris. > I am working with the server team here and guessing that, if say a disk reached 90% capacity they would like a trap to be sent. >>I have been able to set up the following expression form [sic] the Host Resource

AW: The continuing story of SolarWinds and net-snmp, Chapter 2

2005-03-16 Thread Mohr James
Here is the next installment... SolarWinds reads the (deprecated) ssCpuIdle OID instead of ssCpuRawIdle. So, in my mind, whether or not it is a "problem" with a version on net-snmp, SolarWinds is reading the wrong MIB. Looking through the file UCD-SNMP-MIB.txt I found lines that say: DESC

Application monitor MIB (implements RFC 2564)

2005-03-16 Thread Dave
Hi all, I've written the guts of an application monitor MIB, something very similar to what is described in RFC 2564 It uses the PASS directive in snmpd.conf to pass requests to my program, which responds back with the appropriate information. I'd like to submit this program to net-snmp, since I

The continuing story of SolarWinds and net-snmp

2005-03-16 Thread Mohr James
Hi All! The latest word from our friends at SolarWinds is to install net-snmp 5.0.9 because neither 5.1.8 nor 5.2.1 are not delivering correct CPU performance values. So, they recommend that we install 5.0.9. (not that is not a typo) Although I have seen products where newer versions are bugger

Re: snmptrapd with Host Resource Mib

2005-03-16 Thread John Kokidko
Bruce I am working with the server team here and guessing that, if say a disk reached  90% capacity they would like a trap to be sent. John. Bruce Shaw wrote: I have been able to set up the following _expression_ form [sic] the Host Resource Mib. _expression_: 1

Re: snmptrapd executes handler 2 times

2005-03-16 Thread Hugo Caçote
Hi Thomas, Hugo Caçote wrote: > Hi Thomas, > > >>Start the snmptrapd with debug to see what config files it reads in. >>Make sure it doesn't read two of them (each of them listing the perl >>trap handler). > > I realy think that snmptrapd is just reading one configuration file > /etc/snmp/snmpt