Intermittent time-outs

2012-02-10 Thread Ivan Lezhnjov Jr.
Hi everyone! Here's a pretty weird problem. We have a NMS server and a bunch of servers and equipment to keep an eye on with the help of net-snmp. Intermittently snmpwalk will fail to get data from one of the servers and end its attempt with this: [root@nms ~]# snmpwalk -v2c -c $PASS $SERVER

UDS

2012-02-10 Thread shay naveh
Hi all, I have 2 questions regarding UDS in SNMP: 1. Does SNMP ( any version ) support abstract names? if so, from which version? and how they are configured? Note: UDS abstract name is a UDS socket which is opened in the process memory rather than as a file path. 2. snmpd opens /etc/snmptrap

mib2c.table_data.conf, cache timeout period does'nt seems to change.

2012-02-10 Thread Francois Bouchard
Hi, For tables implemented with the mib2c.table_data.conf script (option 1, for cache enabled) the default timeout period of 60 seconds is working well but when I lower that value with the #define statement (5, then 30) the timeout period stays steady at 60 seconds) The code for the table is

Re: mib2c.table_data.conf, cache timeout period does'nt seems to change.

2012-02-10 Thread Francois Bouchard
oups wrong button let me finish my post, Is there defference in the code using mib2c* -S cache=1* -c mib2c.table_data.conf myTable * instead of* mib2c -c mib2c.table_data.conf my myTable, *option 1)* ? Thanks Francois 2012/2/10 Francois Bouchard francois.bouch...@mpbc.ca Hi, For tables

mib2c on entire MIB -- gluing the bits together

2012-02-10 Thread Chris Smith
Hi, I'm a new Net-SNMP user, learning how to code my first MIB subagent for a pre-written MIB file. I gather, from searching these archives, that mib2c is intended to be run on a single MIB node with a single type of data, so if I had the following MIB: myMIB myMIB.scalar myMIB.table I would

snmpd on ARM, error with /proc/bus/pci

2012-02-10 Thread Patrick
Hello all, I am using snmpd on a ARM based target running Linux. This target have no PCI. When I try to start snmpd  I have the following error: /etc/init.d/snmpd start Starting network management services:pcilib: Cannot open /proc/bus/pci pcilib: Cannot find any working access method.  snmpd.

Re: mib2c on entire MIB -- gluing the bits together

2012-02-10 Thread Dave Shield
On 10 February 2012 14:41, Chris Smith cj...@zepler.net wrote: What do I then need to do to glue the bits together into a working subagent? a) Tweak the code that handles the 'initialize' calls, so that both init routines are invoked. (either by adding 'init_myTable' to the

Re: mib2c.table_data.conf, cache timeout period does'nt seems to change.

2012-02-10 Thread Dave Shield
On 10 February 2012 15:02, Francois Bouchard francois.bouch...@mpbc.ca wrote: Is there defference in the code using mib2c -S cache=1 -c mib2c.table_data.conf myTable   instead of  mib2c -c mib2c.table_data.conf my myTable, option 1) ? Errr... that second form looks invalid. mib2c only takes a

Re: mib2c.table_data.conf, cache timeout period does'nt seems to change.

2012-02-10 Thread Francois Bouchard
Hi, Sorry about the mistake, I was asking for hints about the cache timeout values. It can't be modify when changing the xxx_TIMEOUT define statement ( ie.e stays at 60 seconds ) Any hints? Francois But to answer your question - yes, I believe -S cache=1 *is* different to local cached

Re: mib2c.table_data.conf, cache timeout period does'nt seems to change.

2012-02-10 Thread Dave Shield
On 10 February 2012 20:06, Francois Bouchard francois.bouch...@mpbc.ca wrote: I was asking for hints about the cache timeout values.  It can't be modify when changing the xxx_TIMEOUT define statement ( ie.e stays at 60 seconds ) H you should be able to modify this timeout by editing