RE: error in executing executable

2006-03-13 Thread kanakamahesh.anasuri
Title: RE: error in executing executable Set the required environment variables. $export LD_LIBRARY_PATH= : shared library location. Thanks Mahesh -Original Message- From: [EMAIL PROTECTED] on behalf of Puru Govind Sent: Mon 3/13/2006 11:34 PM To: net-snmp-users@lists.sourceforge

List of values etc

2006-03-13 Thread Timothy A. Holmes
First Off, a disclaimer: I am new to using SNMP, I have been using it via the cacti application to monitor my servers and switches. Due to some problems im the Microsoft SNMP agent, I have switched my windows 2003 server to the NET-SNMP agent, and it appears to be running quite nicely. The probl

Re: pass_persist timing out!?

2006-03-13 Thread Jean-Sebastien Morisset
Never mind, found the problem. Sorry for the spam. :-) js. On Mon, Mar 13, 2006 at 01:55:10PM -0500, Jean-Sebastien Morisset wrote: > Hi everyone, > > I wrote a script that was working very well with the "pass" config > option. In order to improve it's speed (mostly perl load times), I > changed

Re: SNMP Trap Collection?

2006-03-13 Thread Alex Burger
Shane Presley wrote: Thanks, I was able to use snmptrapd to get the traps being sent to a file! Now my file contains something like... Mar 13 09:56:02 logger snmptrapd[31634]: 2006-03-13 09:56:02 server.domain.com [10.49.200.12] (via 10.31.40.42) TRAP, SNMP v1, community string SNMPv2-SMI::ente

error in executing executable

2006-03-13 Thread Puru Govind
Hi! Well i have been trying to compile and run the "snmpdemoapp" example given on the websiteCompilation was successful. But whenever i try to execute it, following error was displayed [EMAIL PROTECTED] ~]# ./snmpdemoapp ./snmpdemoapp: error while loading shared libraries: libnetsnmp.so.8:

pass_persist timing out!?

2006-03-13 Thread Jean-Sebastien Morisset
Hi everyone, I wrote a script that was working very well with the "pass" config option. In order to improve it's speed (mostly perl load times), I changed it to support the "pass_persist" option instead. As I understand this config option, the script should run like so (note: I manually added the

oldEngineID

2006-03-13 Thread anand anand
Hello all,     I have the following question:     Can anyone tell me which part of the net-snmp code  reads the /var/net-snmp/snmpd.conf file and populates the oldEngineID variable in the snmpv3.c.     regards -anand    

Re: monitor and notificationEvent

2006-03-13 Thread Dave Shield
On Mon, 2006-03-13 at 14:59 +0100, H. McManus wrote: > First off, should the extra objects index and prErrMessage > be listed with the "monitor" or the "notificationEvent" > lines? Does it matter? Probably not. Logically, it probably makes more sense for them to be listed with the "monitor" entry

RE: snmpset is failing on usmDHParameters.0 OID

2006-03-13 Thread kanakamahesh.anasuri
Title: RE: snmpset is failing on usmDHParameters.0 OID Hi All   Has anyone used usmDHParameters OID. If so please provide some sample value for snmpset.   Thanks in advance Mahesh From: Mahesh Anasuri (WT01 - Broadband Networks)Sent: Mon 3/6/2006 6:00 PMTo: Dave ShieldCc: net-snmp-user

Re: can't get linkUpDownNotifications working

2006-03-13 Thread Dave Shield
On Mon, 2006-03-13 at 16:23 +0100, H. McManus wrote: > > Ummm... Can you try the following patch, and see if it > > helps at all. > > :-( No it still doesn't seem to work. Fair enough. I'm on Help Desk at the moment (with about six different people competing for my attention!), so wasn't actual

Re: can't get linkUpDownNotifications working

2006-03-13 Thread H. McManus
On Monday 13 March 2006 15:36, Dave Shield wrote: > OK - I think I've spotted the problem. > The mteEventTable (and mteEventNotificationTable) have > been set up with the internal owner string "_snmpd", > but the trigger that's being fired is using the owner > string "snmpd.conf". > > Ummm... Can

Re: SNMP Trap Collection?

2006-03-13 Thread Shane Presley
On 3/8/06, Wes Hardaker <[EMAIL PROTECTED]> wrote: > Yep. See the snmptrapd program within our package. It can do just > what you want. Thanks, I was able to use snmptrapd to get the traps being sent to a file! Now my file contains something like... Mar 13 09:56:02 logger snmptrapd[31634]: 200

Re: can't get linkUpDownNotifications working

2006-03-13 Thread Dave Shield
On Mon, 2006-03-13 at 13:38 +0100, H. McManus wrote: > mteEventNotification looks like: > mteEventNotification."_snmpd".'_linkDown' = OID: linkDown > mteEventNotification."_snmpd".'_linkUp' = OID: linkUp (etc, etc). > 2006-03-13 09:30:38 disman:event:fire: disman:event:fire: >

Re: snmpwalk: differences between Distributions

2006-03-13 Thread Dave Shield
On Mon, 2006-03-13 at 15:08 +0100, Brinker, Hans-Peter wrote: > Hallo, > I had problems wih snmwalk and snmpget: > Command snmpwalk -v 1 -d -c public 10.11.1.199 system > > from Suse 8.0 with ucdsnmp-4.2.3-76 I got: [snip] > RHEL 3 with net-snmp-5.0.9-2.30E.19 I got: > Sending 41 bytes

Re: netSnmpHostsTable*.*

2006-03-13 Thread Dave Shield
On Mon, 2006-03-13 at 14:26 +0100, hjubal wrote: > Hi, I'm studying 'netSnmpHoststTable' code located in > agent in examples. > > If the request is GET First thing - the processing is basically the same for both GET and GETNEXT requests. In both cases, the iterator will work through the get_{fir

snmpwalk: differences between Distributions

2006-03-13 Thread Brinker, Hans-Peter
Hallo, I had problems wih snmwalk and snmpget: Command snmpwalk -v 1 -d -c public 10.11.1.199 system from Suse 8.0 with ucdsnmp-4.2.3-76 I got: Sending 41 bytes to 10.11.1.199:161 : 30 27 02 01 00 04 06 70 75 62 6C 69 63 A1 1A 020'.public¡.. 0016: 04 07 CF 1E 15 02 01 00 02 01

monitor and notificationEvent

2006-03-13 Thread H. McManus
Hi, I've got a couple of questions regarding the use of the monitor and notificationEvent directives in snmpd.conf. Take the following (hypothetical) situation. There is a proc directive to monitor several processes. The goal is to send a trap when an error flag is set in the prTable. The trap

netSnmpHostsTable*.*

2006-03-13 Thread hjubal
Hi, I'm studying 'netSnmpHoststTable' code located in agent in examples. If the request is GET then it is called 'netSnmpHostsTable_access::netSnmpHostsTable_get_first_data_point' and then 'netSnmpHostsTable_access::netSnmpHostsTable_get_next_data_point'. This builds 'my_loop_context'. Then it wi

Re: can't get linkUpDownNotifications working

2006-03-13 Thread H. McManus
On Monday 13 March 2006 12:13, Dave Shield wrote: > Hmmm that looks like the nub of the matter. That ought to > be sending the trap. The real question is why it can't find a > matching event. >What do you see if you walk the DISMAN-EVENT-MIB::mteEventTable ? > And the mteNotificationEve

Re: can't get linkUpDownNotifications working

2006-03-13 Thread H. McManus
On Monday 13 March 2006 12:13, Dave Shield wrote: > Hmmm that looks like the nub of the matter. That ought to > be sending the trap. The real question is why it can't find a > matching event. >What do you see if you walk the DISMAN-EVENT-MIB::mteEventTable ? > And the mteNotificationEve

Re: snmpwalk didn't show all values!

2006-03-13 Thread Dave Shield
On Fri, 2006-03-10 at 11:41 -0500, Askar Kengesbayev wrote: > May be I missed something but changed "exec" to "extend" and > bounced service. When I tried to do > > #snmpwalk -c public -v 1 localhost .1.3.6.1.4.1.2021.2789.51 > > > It did not show me the output from the script! What did it sh

Re: SNMP query problem

2006-03-13 Thread Dave Shield
On Mon, 2006-03-13 at 16:17 +0530, Ramachandrappa, Nataraju Karidasarahalli wrote: > If I start the developed agent and gave the following snmpget command > snmpget -c demo localhost 1.3.6.1.4.1.11.255.1.2.1.0. that particular > handler gets called 3 times. > > Why it is getting called 3 times.

Re: snmpd.conf persistent file path.

2006-03-13 Thread Dave Shield
On Fri, 2006-03-10 at 18:32 +0530, [EMAIL PROTECTED] wrote: > 1. Is net-snmp using this file for storing persistent data Yes. > like v3 user name password(Encrypted form.) A localised version rather than an encrypted version, but yes. > 2. Is this file necessary for snmpd functioning. It's n

Re: information on net-snmp

2006-03-13 Thread anand anand
Here by Stack i mean a single installation.   I am trying to simulate the following scenario.     I have an application which simulates a Multiple clusters of NODES ( Ex: Base Station )..   Each Cluster is having Multiple Base Station. Ex: 10 clusters, Each cluster is having 100 Base Stations. Each

Re: problem in compiling

2006-03-13 Thread Dave Shield
On Sat, 2006-03-11 at 23:32 +0530, Puru Govind wrote: > gcc -o snmpdemoapp snmpdemoapp.o `net-snmp-config --libs` > snmpdemoapp.o(.text+0x87): In function `main': > /root/snmpdemoapp.c:41: undefined reference to `init_agent' If you've only just installed the libraries, you may need to run 'ldconfi

RE: net-snmp 5.3 snmptrapd.conf configuration example

2006-03-13 Thread Dave Shield
On Thu, 2006-03-09 at 20:56 +0200, Derey Moshe wrote: > I'm also trying to configure a traphandle inside the configuration > file: snmptrapd.conf as follows: > > traphandle SNMPv2::enterprises.9.10.4.2 /home/moshe/trap_handler > > Do you see anything wrong with it? Well for a start, the OI

Re: Handling woth traps

2006-03-13 Thread Dave Shield
On Fri, 2006-03-10 at 17:57 +, Pedro Henrique Morsch Mazzoni wrote: > I need to receive traps when some services has stoped. > How can I configure to the trapsink machine receive a trap when a > service is not running? Please see the snmpd.conf(5) man page - in particular the discussion of th

Re: can't get linkUpDownNotifications working

2006-03-13 Thread Dave Shield
On Mon, 2006-03-13 at 09:56 +0100, H. McManus wrote: > I'm trying to get linkUpDownNotifications to work without much success. > 2006-03-13 09:30:38 disman:event:fire: disman:event:fire: Event fired > (snmpd.conf, _linkUp) > 2006-03-13 09:30:38 Event fired (snmpd.conf, _linkUp) > 2006-03-13 09:3

monitor seems to be ignoring -S

2006-03-13 Thread H. McManus
Hi, In my snmpd.conf, I have the following monitor line: monitor -r 60 -S "proc monitor" .1.3.6.1.4.1.2021.2.1.100 > 0 >From man snmpd.conf I understand that the -S should stop it from looking at the OID when the agent starts. The problem is that is *is* looking (and sending a trap) when the a

Re: information on net-snmp

2006-03-13 Thread Thomas Anders
anand anand wrote: My project requirement is that I want to use a single net-snmp stack with different Application having seperate engine ID's. Please define "stack" and "application" in this context. Do any two of your applications happen to pass the same name to init_snmp()? These are

can't get linkUpDownNotifications working

2006-03-13 Thread H. McManus
Hi, I'm trying to get linkUpDownNotifications to work without much success. I have compiled net-snmp 5.3.0.1 under linux (Debian) with the disman and oid patches. I am running the daemon as `snmpd -Ddisman -d -Le -p /var/run/snmpd.pid` >From the debugging output, I can see the interfaces being