can’t find the shared libraries: libnetsnmp.so.5.

2005-03-07 Thread Jim Su
Hi Greeting: I have implemented one program to call SNMP library - snmp_sess_close, etc. The following is from NM of my executable file. U snmp_sess_init U snmp_sess_open U snmp_sess_session U snmp_sess_synch_response 08056c80 b snmp_sysuptime 08056ca8 b s

Re: 5.2.1 Trap Handler causes snmptrapd to exit from broken pipe

2005-03-07 Thread Michael Higgins
[Michael Higgins]: > I did a little digging and it looks like the problem is in > agent/mibgroup/utilities/execute.c in run_exec_command(). I don"t know > a whole lot about how this is architected, but it appears that two > threads are responsible for making this happen. One gets the trap >

Configure Access Control List

2005-03-07 Thread Rustagi, Sandeep (Sandeep)
Hi, We are trying to use net-snmp. But we are unable to configure the access control list. We are trying to use the SNMP version 1 and using the example-daemon (present in the tutorial section) to connect to Master Agent. We are getting the following messages: Error: Failed to connect to the ag

RE: Error: OID not increasing: with proxy

2005-03-07 Thread Andy Ford
At a first glance, I would say that was an issue with the SNMP agent itself. I have a similar issue with some Extreme switches where the MIB isn't constructed correctly. I see from the output that you have two sysServices returning from 'system' in the mib-II mib. I was under the impression tha

Re: Retrieving scalar objects

2005-03-07 Thread Sridhar S
With attachments.. Sridhar On Mon, 07 Mar 2005 15:42:21 +0530, "Sridhar S" <[EMAIL PROTECTED]> said: > Hi, > > I am using Net-SNMP version 5.0.9. > > The attached file ifNumber_orig.c is the code that that generated by > tool-kit and handler function is modified to retrieve the value of > ifN

Retrieving scalar objects

2005-03-07 Thread Sridhar S
Hi, I am using Net-SNMP version 5.0.9. The attached file ifNumber_orig.c is the code that that generated by tool-kit and handler function is modified to retrieve the value of ifNumber from the back-end. With this file, if retrieving the value from the back-end fails then agent is not returning t

Re: 5.2.1 Trap Handler causes snmptrapd to exit from broken pipe

2005-03-07 Thread Dave
[Michael Higgins]: > I did a little digging and it looks like the problem is in > agent/mibgroup/utilities/execute.c in run_exec_command(). I don"t know > a whole lot about how this is architected, but it appears that two > threads are responsible for making this happen. One gets the trap >

Which trap to handle ??

2005-03-07 Thread Brian Ipsen
Hi, I have the following entry from snmptrapd.log - I wonder what the entry in snmptrapd.conf should look like - in order to have something handlethis trap ? Mar 7 10:42:55 sigma snmptrapd[3465]: 192.168.1.164: Enterprise Specific Trap (257) Uptime: 6 d, INTELCORPORATIONICMBGENERICCHASSIS-MIB::

Re: finding agent executable.

2005-03-07 Thread Sridhar S
Vijay, If you have installed with default options, then the installable will be under /usr/sbin directory, otherwise under the directory specified by --prefix parameter to the 'configure' script. SrIdhar On Thu, 3 Mar 2005 07:42:23 -0500, "Vijay Krishna" <[EMAIL PROTECTED]> said: > Hi > I hav