Embedded linux flavours and support of net-snmp

2005-12-06 Thread Rajmohan
  Hi,   I have gone through the Net-SNMP FAQ but it specifies broadly as “net-snmp supports linux OS”, but I need to specifically know about how many different embedded Linux flavors net-snmp supports or reported to be running.   This is quite urgent and quick information is greatly a

RE: Multiple sets in one pdu

2005-12-06 Thread Yong Chen (yongche)
Dave, Sorry coming back to this topic again, how do I walk through the list in 5.x? for instance, the nsLogging example has handle_nsLoggingTable(), is that the forth input parameter: 'requests', has all incoming varbinds? I just go through it via "request->next"? Actually I'm doing SET for a ta

Question about netsnmp_call_handlers() function in snmp_agent.c

2005-12-06 Thread Yong Chen (yongche)
Hi, I've a question regarding netsnmp_call_handlers(), if I have a SET pdu as following: set a=1, b=2, c=3 Is netsnmp_call_handlers() called once for all 3 varbinds, or it is called three times, each for one varbind? (one for 'a', one for 'b', one for 'c')? Based on the code in handle_var_r

Re: Net-snmp on Windows: write snmpget output directly to a file ?

2005-12-06 Thread Andy Smith
Karl Schuster wrote: Hello, I am new with net-snmp.I use it on Windows2000. I have installed the binary version 5.2.1.2. It runs very well. My question: I start snmpget from a DOS window. How can I write the output into a file. I have not found a suitable option. Until now, the only possibili

IP address setting

2005-12-06 Thread manik chopra
Hi All, I was wondering, how to determine if the configuration of IP address and IP mask is set to "static" or "dynamic(dhcp)" ? any suggestions on this please ?? Thanks manik Yahoo! Personals Let fate take it's course directly to your email. See who's waiting for you Yahoo! Personals

Disk utilization on SLES9 Linux

2005-12-06 Thread andre . heine
Hello all, I need some help how to configure "disk utilization". net-snmp 5.1-80.16 (64bit): We use "OpManager" as NNM, these tools ask this OID for the disk utilization: .1.3.6.1.2.1.25.2.3.1.6 I tried the OID with snmpget: linux~# snmpget -m ALL -c pl-combots -v 2c 10.17.1.124 .1.3.6.1.2.

Re: MAXIMUN SIZE of a Display String

2005-12-06 Thread Gemma Sanchez
HELLO !!! I have read in rfc 1157: "Communication among protocol entities is accomplished by the exchange of messages, each of which is entirely and independently represented within a single UDP datagram using the basic encoding rules of ASN.1. A message consists of a version identifier, an SNMP c

RE: Net-snmp on Windows: write snmpget output directly to a file ?

2005-12-06 Thread Maluski, Dean
Title: Net-snmp on Windows: write snmpget output directly to a file ?     On windows XP with NT Resource kit I just tried this and it worked. cat file.txt > newfile.txt So, this should work I assume. Here is a command I run on Linux boxes.   snmpget -Os -c public -v 1 163.193.38.

Net-snmp on Windows: write snmpget output directly to a file ?

2005-12-06 Thread Karl Schuster
Title: Net-snmp on Windows: write snmpget output directly to a file ? Hello, I am new with net-snmp.I use it on Windows2000. I have installed the binary version 5.2.1.2. It runs very well. My question: I start snmpget from a DOS window. How can I write the output into a file. I have no

Re: Unexpected index type

2005-12-06 Thread cnelson
> http://sourceforge.net/mailarchive/message.php?msg_id=13927476 > seems to end a thread regarding "Unexpected index type: 0 ifIndex 1" > without any resolution. Can someone explain to me what this error > means or what I should do about it? Thanks. I've started bug 1374483 on Sourceforge to d

Re: Net-SNMP 5.2.1.2 Win32 vs. HOST-RESOURCES-MIB::hrProcessorLoad

2005-12-06 Thread Andy Smith
Winfried Neessen wrote: Hi Dave, That's because this particular object has not been implemented. From the FAQ: [...] On a Unix-based system, the usual advice is to monitor the UCD-SNMP-MIB::laTable (for the Unix 1, 5 and 15 minute load averages). I'm not sure whether this works under Wi

Re: Net-SNMP 5.2.1.2 Win32 vs. HOST-RESOURCES-MIB::hrProcessorLoad

2005-12-06 Thread Andy Smith
Winfried Neessen wrote: Hi list, I just installed Net-SNMP 5.2.1.2 on one of my windows machines as the stupid Windows-integrated SNMPd isn't reliable for me. The installation worked fine and without any troubles. I copied the snmpd.conf from one of my unix hosts to this machine and removed som

Cross Compilation for Linux

2005-12-06 Thread Rustagi, Sandeep (Sandeep)
Hi, I wish to compile the net-snmp code for SNMPv1 and SNMPv2 on solaris machine for linux target. Please suggest me what options I should use for configuring. I have give the following options: ./configure --prefix=/home/sandeepr/net_snmp_5_2_1 --host=sparc --target=i686-pc-linux-gnu --with-ar

Re: Problem with snmptrap

2005-12-06 Thread Dave Shield
On Tue, 2005-12-06 at 11:26 +0200, Andrei Pisau wrote: > Also, I have tried the latest release 5.3.pre5 and I have > problems when sending all kind of alerts. Even v1 TRAP or > V2c TRAP or INFORM are not logged, snmptrapd receives them > but some way, it discards them after some VACM checks. Yes -

Re: Problem with snmptrap

2005-12-06 Thread Andrei Pisau
On Wed, 2005-11-30 at 11:08 -0800, Wes Hardaker wrote: > Ok... I misdiagnosed the problem. The problem is that snmptrap > itself is complaining that the user doesn't exist, not the agent which > is what I originally thought. > > I do suspect a new bug. > > I'm going to bet it stems from the del

Re: Net-SNMP 5.2.1.2 Win32 vs. HOST-RESOURCES-MIB::hrProcessorLoad

2005-12-06 Thread Dave Shield
On Tue, 2005-12-06 at 10:13 +0100, Winfried Neessen wrote: > > On a Unix-based system, the usual advice is to monitor the > > UCD-SNMP-MIB::laTable (for the Unix 1, 5 and 15 minute load > > averages). I'm not sure whether this works under Windows, > > but it's worth a look. > > > Yep you are righ

Re: Net-SNMP 5.2.1.2 Win32 vs. HOST-RESOURCES-MIB::hrProcessorLoad

2005-12-06 Thread Winfried Neessen
Hi Dave, > That's because this particular object has not been implemented. > >From the FAQ: > > Note that although the Host Resources table includes a > hrProcessorTable, the current implementation suffers from > two major flawsSecondly, it doesn't calculate the > hrProcessorLoad value

Re: snmpd is working and show timeout error

2005-12-06 Thread Dave Shield
On Mon, 2005-12-05 at 22:37 -0800, Ganesh Wagh wrote: > I am running snmpd daemon as snmpd -d -Le -d > In this situation I watching only incoming packets to > udp port. there is no outgoing packets. > For any request it shows timeout error. This is covered in the FAQ: Requests always seem to ti

Re: Net-SNMP 5.2.1.2 Win32 vs. HOST-RESOURCES-MIB::hrProcessorLoad

2005-12-06 Thread Dave Shield
On Mon, 2005-12-05 at 23:46 +0100, Winfried Neessen wrote: > The SNMPd is giving accurate responses, but I'm not able to fetch - for > instance the CPU Load of the windows host via HOST-RESOURCES-MIB:: > hrProcessorLoad (.1.3.6.1.2.1.25.3.3.1.2) That's because this particular object has not been i