Re: Too small map; lots of 'uninitiated values'

2006-02-16 Thread Thomas Anders
Troy Tripp wrote: When I run ‘netdisco –g’, I get lots of what appear to be warning messages: May I kindly recommend you tell this the netdisco folks then rather than the net-snmp crowd? :-) +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ---

Too small map; lots of 'uninitiated values'

2006-02-16 Thread Troy Tripp
When I run ‘netdisco –g’, I get lots of what appear to be warning messages:     n e t  d i s c o -- graph() - Creating Graphs. $S[0] has 2 nodes. Creating new Graph Use of uninitialized value in hash element at ./netdisco line 3061. U

Re: exec - need extResult and extOutput

2006-02-16 Thread Kyle Tucker
> > This works well for direct calls from the shell, but Nagios's check_snmp > plugin is unable in any combination to pass along the quotes to snmpget, > in fact the program dies trying to do a 'popen' of the command string, > using its own spopen function. The Nagios mailing list doesn't have a

Re: Snmptrapd trap handler

2006-02-16 Thread Tom De Boeser
>I've written a replacement for the traptoemail script that is>distributed with the net-snmp package for use with the snmptrapd.>In addition, it provides some basic filtering of traps, allowing >certain events to be picked out, based on, for example, hostname,>switch port, mac address, etc. It can

Re: exec - need extResult and extOutput

2006-02-16 Thread Kyle Tucker
> > > If I try to call it with this symbolic name from snmpget, with or > > without quotes, it fails with: > > > > snmpget ... hostname ... nsExtendOutputFull."extt" > > You *do* need the quotes, but they need to reach snmpget, rather > than being swallowed by the shell. Try: > > snmpget

Re: Re: Insert integer bigger than 2**32 into MIB tree

2006-02-16 Thread Joe Shen
> > What is the structure of this MIB subtree? > In particular, what is the definition of the > object(s) > that hold)s( the numeric value? Reading the code of that script, I found following: # .1.3.6.1.4.1.2021.55.1.1 = INTEGER: 1 # .1.3.6.1.4.1.2021.55.2.1 = STRING: GLOBAL # .1.3.6.1.4.1.2021.

Is it possible to use the netsnmp_serialize_helper_handler after the table_helper_handler?

2006-02-16 Thread Makavy, Erez (Erez)
1) I see that the table_helper_handler is written to handle multiple requests, it there any problem injecting the netsnmp_serialize_helper_handler so it would work after the table_helper_handler finished?   2) actually it might work even if the serialize works before the table, the for loop

RE: multiple registration of scalar_group_helper_handler.

2006-02-16 Thread Dave Shield
On Thu, 2006-02-16 at 18:11 +0200, Makavy, Erez (Erez) wrote: > Is there any problem registering multiple handlers with the same > handlerName in the netsnmp_handler_registration struct? Nope. > (and the same netsnmp_mib_handler, but to different root OIDs) That last is the important thing. As

RE: multiple registration of scalar_group_helper_handler.

2006-02-16 Thread Makavy, Erez (Erez)
Is there any problem registering multiple handlers with the same handlerName in the netsnmp_handler_registration struct? (and the same netsnmp_mib_handler, but to different root OIDs) -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 3:41

Re : Implementing Persistant data

2006-02-16 Thread vikas.shivappa
Title: Re : Implementing Persistant data Hi Wes Hardaker , Thanks for the suggestions ! Its working for the scalars now the only thing I did was to put the register_config_handler in the init function . I have implemented it for scalars. I searched for implementation of persistant da

ifHCInOctets and Solaris

2006-02-16 Thread Malcolm Townsend
Hi, I have a question regarding the 64 bit counters for In / out octets (ifHCInOctets). I understand from the net-snmp web site that this is only supported for Linux. Q1:  Will this ever be supported for Solaris ?  Or is there some way to use Net-SNMP to get it to work ? If not, Q2: Would anyon

Re: snmptrapd 5.2.1.2 and memory leackage

2006-02-16 Thread Antonis Papagrigoriou
I first tryed the 5.1 version which had the same results. I upgraded it to 5.2 for this reason. I will try the version (5.3) that you suggest and I 'll inform about the results. Thanks Antonis On Thursday 16 February 2006 14:29, Thomas Anders wrote: > Antonis Papagrigoriou wrote: > > I have

Re: exec - need extResult and extOutput

2006-02-16 Thread Dave Shield
On Thu, 2006-02-16 at 08:55 -0500, Kyle Tucker wrote: > > Oh yes - one other thing. > > > If the Net-SNMP agent is built *without* the 'ucd-snmp/extensible' > > module, then new 'agent/extend' module will step in and implement > > the original UCD-SNMP-SNMP::extTable, using the new (caching) > > a

Re: exec - need extResult and extOutput

2006-02-16 Thread Kyle Tucker
> > No - it *does* fix the repeated execution problem. > The reasons I suggested you "investigate" it are: > > a) The MIB structure is significantly different to the > original "exec" directive (as you've no doubt discovered). > Now I believe it's a distinct improvement in flexibil

RE: multiple registration of scalar_group_helper_handler.

2006-02-16 Thread Dave Shield
On Thu, 2006-02-16 at 15:37 +0200, Makavy, Erez (Erez) wrote: > You mean that I should refer to the netsnmp_register_scalar(). Yup. > Is there any problem using netsnmp_register_scalar(), to register > the same MibAccess function to different leafs? Nope. > ( and then in the Access function to

Re: exec - need extResult and extOutput

2006-02-16 Thread Dave Shield
On Thu, 2006-02-16 at 13:27 +, Dave Shield wrote: > On Thu, 2006-02-16 at 08:14 -0500, Kyle Tucker wrote: > > I believe he said I may wish to investigate it, not that is was a fix. > > No - it *does* fix the repeated execution problem. > The reasons I suggested you "investigate" it are: > >

RE: multiple registration of scalar_group_helper_handler.

2006-02-16 Thread Makavy, Erez (Erez)
You mean that I should refer to the netsnmp_register_scalar(). Is there any problem using netsnmp_register_scalar(), to register the same MibAccess function to different leafs? ( and then in the Access function to extract the leaf number by the last regoid component) -Original Message- F

Re: exec - need extResult and extOutput

2006-02-16 Thread Dave Shield
On Thu, 2006-02-16 at 08:14 -0500, Kyle Tucker wrote: > > As Dave said, the suggested fix is to use the "extend" directive instead. > > I believe he said I may wish to investigate it, not that is was a fix. No - it *does* fix the repeated execution problem. The reasons I suggested you "investigat

Re: multiple registration of scalar_group_helper_handler.

2006-02-16 Thread Dave Shield
On Thu, 2006-02-16 at 14:47 +0200, Makavy, Erez (Erez) wrote: > Can I use netsnmp_register_scalar_group(), to register 2 scalar > group handlers to the same OID (but with different leaf ranges)? No. You'd need to register a single handler (covering the full range of both groups), and have that han

Re: exec - need extResult and extOutput

2006-02-16 Thread Kyle Tucker
> > > Could someone verify that doing the above snmpget command > > *should* run a given script twice or is it perhaps a bug? > > I'd expect all fields for for a given exec call to be the > > result of the same single execution, but I am seeing hard > > evidence of two runs. Adding any other of

multiple registration of scalar_group_helper_handler.

2006-02-16 Thread Makavy, Erez (Erez)
Can I use netsnmp_register_scalar_group(), to register 2 scalar group handlers to the same OID (but with different leaf ranges)?   thanks, Erez Makavy  

Re: snmptrapd 5.2.1.2 and memory leackage

2006-02-16 Thread Thomas Anders
Antonis Papagrigoriou wrote: I have noticed that when snmptrapd works it uses allot of memory which is also increasing rapidly (in just 24 hours it uses the ~30% of memory). Please try with a more recent release (5.2.2 or 5.3.0.1) instead. +Thomas -- Thomas Anders (thomas.anders at blue-cabl

Re: #error embedded perl broken - SOLVED

2006-02-16 Thread Thomas Anders
Raffles wrote: You know it would be very useful if configure *did* stop dead if perl is broken - this tripped me up too (though in a different way). Is the reason configure didn't complain perhaps this: http://sourceforge.net/tracker/index.php?func=detail&aid=898863&group_id=12694&atid=1126

Re: #error embedded perl broken - SOLVED

2006-02-16 Thread Raffles
You know it would be very useful if configure *did* stop dead if perl is broken - this tripped me up too (though in a different way). Is the reason configure didn't complain perhaps this: http://sourceforge.net/tracker/index.php?func=detail&aid=898863&group_id=12694&atid=112694 If not, then

Re: #error embedded perl broken - SOLVED

2006-02-16 Thread H. McManus
On Wednesday 15 February 2006 18:14, you wrote: > H. McManus wrote: > > snmp_perl.c:88:2: error: #error embedded perl broken > > Please do a *case-insensitive* search for eval_pv in config.log and have > a look why the corresponding configure tests are failing. It can't find -lperl. Installing th

unable to get snmpd running

2006-02-16 Thread H. McManus
Hi, I've just compiled net-snmp 5.3 on linux. I'm trying to start snmpd though and it's not working, and I don't understand why. At the command line I'm typing this: /usr/sbin/snmpd -Lf /var/log/snmpd -Dmib_init -u snmp -p /var/run/snmpd.pid -I -lmSensors,ipv6,proxy The contents of /var/log/s

Re: configure snmptrapd logging to syslog

2006-02-16 Thread Dave Shield
On Wed, 2006-02-15 at 22:16 +0200, Makavy, Erez (Erez) wrote: > How do I configure the syslog server IP address, that the > snmptrapd will send syslog to? $ man syslog.conf Dave --- This SF.net email is sponsored by: Splunk Inc. Do you

Re: changing the ipAdEntAddr and ifPhysAddress entry orde

2006-02-16 Thread Dave Shield
On Wed, 2006-02-15 at 18:43 +0100, Taner mehmetali wrote: > > What SNMP agent are you querying? > > i use the net-snmp agent 5.2.1.2 ... > all windows snmp tools are deinstalled. So this *is* on a Windows box, then? OK - another possibility is that the Net-SNMP agent is hooking into the standard

snmptrapd 5.2.1.2 and memory leackage

2006-02-16 Thread Antonis Papagrigoriou
Hallo, Could anyone help me with the problem bellow? I 'm using net-snmp trap deamon on a system with Redhat linux 8. (Dual Intel Xeon/2.40GHz and 1G Ram/2G Swap) This system is reseving a large number of traps each day. I am loading in the configuration file a number of MIBs (to support transl