5.4.1.rc3 available

2007-07-16 Thread Wes Hardaker
5.4.1.rc3 is possibly the last release candidate before the final 5.4.1 release, so please let us know of any show stoppers. http://www.Net-SNMP.org/download/ (the .zip file is missing due to a SF minor issue; it will be uploaded tomorrow; but hey... you can check the signature today. Just kee

Re: SNMPD ended up in an endless loop processing GETNEXT

2007-07-16 Thread Raymond Pau
Hi Dave, You are right, I started up the agent with full debug option (i.e. -Dall) as I am new to net-snmp and does not really know which option to start watching. I agree on the information overflooding part. Content of the snmpd.conf is as follows: rwcommunity p rocommunity p syslocation "I

RE: [Fwd: What SNMP data type can i use to represent a floating pointnumber?]

2007-07-16 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of mushtaq khan > Sent: Monday, July 16, 2007 1:40 AM > To: net-user > Subject: [Fwd: What SNMP data type can i use to represent a > floating pointnumber?] > I am using net-snmp version 5.4. I have some variables of > floating p

Re: sending traps to NNM

2007-07-16 Thread Dave Shield
On 16/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I now want to test sending traps to a HP Openview Network Node Manager What system is the OpenView system running on? The same server as the SNMP agent, or a different one? > I can issue commands like > > bash-3.00# snmptrap -v 2c -c pu

RE: sending traps to NNM

2007-07-16 Thread [EMAIL PROTECTED]
further to my earlier request I can add that if I also use a -Ci option (inform) this is the response I receive... bash-3.00# snmptrap -v 2c -c public -Ci localhost "" ucdStart sysContact.0 s "Dave" snmpinform: Timeout (Sub-id not found: (top) -> sysContact) Presumably this means the sent traps d

sending traps to NNM

2007-07-16 Thread [EMAIL PROTECTED]
I am desperately seeking some help as I am really struggling, but I accept this isn't really the remit of this list - if its more appropriate off list replies are fine by me. I have net-snmp installed and apparently working e.g. snmpget returns values from localhost. I now want to test sending t

Re: Floating point numbers representation in SNMP

2007-07-16 Thread Dave Shield
On 16/07/07, Ansa Ahammed <[EMAIL PROTECTED]> wrote: > Which data type can we use to represent floating-point nubers > in Snmp . The SNMP standard does not strictly include support for non-integer numeric values. If you need to implement a fractional value, there are three options: a) Define

Floating point numbers representation in SNMP

2007-07-16 Thread Ansa Ahammed
Hi, Which data type can we use to represent floating-point nubers in Snmp . Regards, Ansa begin:vcard fn:Ansa Ahammed n:Ahammed;Ansa org:PROCSYS adr;dom:;;;Bangalore email;internet:[EMAIL PROTECTED] title:Design Engineer tel;cell:9901089085 version:2.1 end:vcard --

Re: help

2007-07-16 Thread Dave Shield
On 16/07/07, haoran mo <[EMAIL PROTECTED]> wrote: > I met this error, how can I set config? Should I install libelf ? Yes. Dave - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: Adding and removing trap sessions from a subagent

2007-07-16 Thread Dave Shield
On 16/07/07, DI BACCO ANTONIO - technolabs <[EMAIL PROTECTED]> wrote: > If the agent is in charge to send the traps, how can the subagent inform > the agent about new sinks? Probably this info will be also conveyed > through the AgentX. I will try. No - the AgentX protocol does not cover this requ

Re: pass command problem (cache problem)

2007-07-16 Thread Dave Shield
On 13/07/07, johanfirdi <[EMAIL PROTECTED]> wrote: > I do snmpget to above oid, the result unchanged when I do snmpget again > 10 seconds later, or 20 seconds later, still remain with old value. > But after 30 seconds later, the value will changed. > Any cache value stored in snmpd ?. Yes. The re

Re: Problem with snmptrap

2007-07-16 Thread Thomas Anders
Eduardo Saavedra Cea wrote: > I want to receive traps with snmptrapd, but It doesn't work. > This demon dont print anything to standar out neither to syslog when I > send the trap whit sendtrap: > snmptrap -v 1 -c zweicom_notav 192.168.1.168:162 > .1.3.6.1.4.1.19408.2.1 localhost 6 303 .1.3.6.1.4.1

need information for the correction

2007-07-16 Thread waji
hi when i want to access my Mib using the translate command at first it will show me the MIB tree but after when i want to access it agin it will given an error can you tell me the solution of this error when first time i use the snmptranslate command it will show me output as under [EMAIL PROTE

help

2007-07-16 Thread haoran mo
I met this error, how can I set config? Should I install libelf ? Error: /home/mohaoran/work/mhr/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mi ps-linux/3.3.3/../../../../mips-linux/bin/ld: cannot find -lelf With mips-linx-gcc environment ,how can set configure? ./configure --prefix=/hom

Problem with snmptrap

2007-07-16 Thread Eduardo Saavedra Cea
Hello. I want to receive traps with snmptrapd, but It doesn't work. This demon dont print anything to standar out neither to syslog when I send the trap whit sendtrap: snmptrap -v 1 -c zweicom_notav 192.168.1.168:162 .1.3.6.1.4.1.19408.2.1 localhost 6 303 .1.3.6.1.4.1.19408.1.1.2.0 I start with: c

Re: dynamically adding User

2007-07-16 Thread Dave Shield
On 13/07/07, valantina arumugam <[EMAIL PROTECTED]> wrote: > 2. i/p : snmpusm -v3 -u wes1 -n "" -l authNoPriv -a MD5 -A superuser > localhost passwd superuser newpassword > o/p : no encryption type specified, which I need in order to know to > change the key Try adding the option '-Ca'

Re: SNMPD ended up in an endless loop processing GETNEXT

2007-07-16 Thread Dave Shield
On 12/07/07, Raymond Pau <[EMAIL PROTECTED]> wrote: > I just took over a custom snmpd running on embedded linux based on net-snmp > version 5.1.3. > > I'm having 2 problems: > 1. Daemon does not seems to be loading any MIBs module at all; > 2. Daemon entered an endless loop when processing GETNEXT

RE: Adding and removing trap sessions from a subagent

2007-07-16 Thread Madan Mohan Goud
Antonio, I did not use AgentX subagent, but i addeed sink dynamically as follows: If you see netsnmp_send_traps( ) API, sinks to which traps are generated are from the structure : struct trap_sink { netsnmp_session *sesp; struct trap_sink *next; int pd

Re: windows command for LINUX "./configure --with-mib-module=

2007-07-16 Thread Dave Shield
On 12/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > the command ./configure --with-mib-module= in > linux is used to recompile agent whit new MIB extension. > in windows the > command --with-mib-module isn't allowed. As tanar has said, this approach can be used to specify new MIB extension

Re: User defined error

2007-07-16 Thread Dave Shield
On 11/07/07, valantina arumugam <[EMAIL PROTECTED]> wrote: > So ,is there a provision to send user defined error string in net-snmp No. > or the SNMP standard itself doesn't support it ? Exactly right. The whole point of an Internet Standard is that it is standard. The list of possible erro

Re: "can any one help to slove problem "configure the new MIB file -- " $ ./configure --with-mib-modules="netSnmpTutorialMIB""

2007-07-16 Thread Dave Shield
On 11/07/07, manu kumar <[EMAIL PROTECTED]> wrote: > I had problem while "configure the new MIB file", as I created a > new file.txt and able to compile it and I got xxx.h and xxx.c . I modified > the xxx.c file to get and set the value and placed the xxx.h and xxx.c file > in ./agent/mi

Re: Re:probelm with the embedded snmpd

2007-07-16 Thread Dave Shield
On 11/07/07, Salai, Sivakkani Thirunavukkarasu <[EMAIL PROTECTED]> wrote: > I cross-compiled, installed the snmp agent for my embedded device. > For testing purposes, I just copied the snmpd binary and the dependent > libraries (.so files) to my embedded device, I am able to run the snmp ag

RE: Table GetNext for next column

2007-07-16 Thread Madan Mohan Goud
Dave, Thanks for the response. You were absolutely right. There was problem in 'get_first_data_point'. I could fix this. Thanks, Madan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, July 16, 2007 3:15 PM To: Madan Mohan

Re: Table GetNext for next column

2007-07-16 Thread Dave Shield
On 11/07/07, Madan Mohan Goud <[EMAIL PROTECTED]> wrote: > The strange behavior I am seeing is as follows: > (1) First column it retrieves properly. > (2) From second column, it jumps to the last index instead of retrieving > values from the list of indices. In the same way it yields value of all >

RE: Adding and removing trap sessions from a subagent

2007-07-16 Thread DI BACCO ANTONIO - technolabs
Thank you, very much. If the agent is in charge to send the traps, how can the subagent inform the agent about new sinks? Probably this info will be also conveyed through the AgentX. I will try. Bye, Antonio. >Antonio, >I did not use AgentX subagent, but i addeed sink dynamically as follows:

Re: How to implement a new MIB

2007-07-16 Thread Dave Shield
On 11/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The first step i want to follow is to > CHECK ONLY if my MIB TABLE exist and can be reached by agent with > snmptranslate command. The 'snmptranslate' command has nothing to do with the agent. It's simply working with the MIB file directl

Re: Adding and removing trap sessions from a subagent

2007-07-16 Thread Julien Pinon
Le lundi 16 juillet 2007 à 11:08, "DI BACCO ANTONIO - technolabs" <[EMAIL PROTECTED]> écrivait : > Is it possible to add a new trap sink dinamically (and programmatically, > not via configuration files) from within an AgentX subagent? This is a question I asked here a little while ago, the answe

RE: Adding and removing trap sessions from a subagent

2007-07-16 Thread Madan Mohan Goud
If you see netsnmp_send_traps( ) API, sinks to which traps are generated are from the structure : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DI BACCO ANTONIO - technolabs Sent: Monday, July 16, 2007 2:39 PM To: net-snmp-users@lists.sourcef

Adding and removing trap sessions from a subagent

2007-07-16 Thread DI BACCO ANTONIO - technolabs
Is it possible to add a new trap sink dinamically (and programmatically, not via configuration files) from within an AgentX subagent? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of

[Fwd: What SNMP data type can i use to represent a floating point number?]

2007-07-16 Thread mushtaq khan
--- Begin Message --- Hi, I am using net-snmp version 5.4. I have some variables of floating point data type, and i don't know what SNMP data type i used use for it. Please help me in this regard. Thanks, Mushtaq --- End Message --- -

RE: how to scan for a device?

2007-07-16 Thread Ward, Martin
I would suggest SNMP polling the default gateway for that subnet. You need to look in the ARP cache. If this mythical server is alive and talking to the default gateway (that's two if's though) then you ought to be able to find out. It's only a thought though. |\/|artin > -Original Message--

RE: Activate logs

2007-07-16 Thread Beaur Remi
Sorry to up my topic, but I have found no solution for my problem concerning logs. Any other hint? -Original Message- From: Beaur Remi Sent: jeudi 12 juillet 2007 14:07 To: 'net-snmp-users@lists.sourceforge.net' Subject: RE: Activate logs Thanks for your help. Unfortunately I 'm not u

Re: make test errors

2007-07-16 Thread [EMAIL PROTECTED]
Thanks for that pointer Thomas - really helpful. libgcc_s.so_1 is in /usr/local/lib - and couldn't be found as I found from the logs in /tmp/snmp-test-* ... a soft link in /usr/lib and now I have 59/59 pass :-) regards ian Original Message: - From: Thomas Anders [EMAIL PROTECTE