Re: Hi

2004-09-10 Thread Sitaraman .V.R
Hi Dave, While the below works(case1), it appears even with increasing OID listing there are cases where the agent does not start. Case4, Case5 and Case6. Sitaraman Try moving the 'LABCALLSINDEX' entry to immediately after the 'EXAMPLETIMETICKS' entry. (Though you shouldn't actually have a

RE: Hex-to-ASCII of varbins

2004-09-10 Thread HOFKENS Hans \(BMB\)
This is from the veritas cluster server mib... The OID of the varbin is 1302.8.10.1.14. Even in ethereal it doesn't get printed as ascii. The last char is a 0x0a. Thanks Hans -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 5:38 PM To:

Re: SNMPv3 and encryption

2004-09-10 Thread Dave Shield
I put the following in /var/net-snmp/snmpd.conf: createUser admin MD5 admin DES [but] When I try: snmpwalk -v 3 -n -u admin -a MD5 -A adminpwd -x DES -X adminpwd -l authPriv theserver system I get: snmpwalk: Decryption error Either adminpwd should be

Re: PLEASE HELP - newbie question

2004-09-10 Thread Dave Shield
I am sorry for boring you again with this basic question but I can't understand it. Can you PLEASE show a little patience! You've now asked the same question *three* times in as many days! You are not paying anything towards the support of this code, and it is unreasonable to expect us to

5.1.1 pass problem (maybe timeout)

2004-09-10 Thread Javier Szyszlican
Hi, I'm having problems using 'pass' with 5.1.1 I made a script and it worked before, but now, after an upgrade it doesn't work anymore. But if I do a strace of the snmpd daemon, then it works, its like an internal timeout problem. If I make the daemon slower, then it returns the values.

Re: SNMPv3 and encryption

2004-09-10 Thread cnelson
... I'd suggest you downgrade this to be auth rather than priv, make sure the passwords are consistent, and concentrate on getting SNMPv3 authentication working first. *Then* try adding privacy as well. Thanks. I've got auth working and imagine priv isn't far behind. I spoke too

seg. fault on calling send_v2Trap

2004-09-10 Thread Narinder Soni
I am using ucd-snmp-4.2.5. I have everything running in the agent i.e. snmpget, snmpset etc. But as shown in example.c, if I trigger send_v2Trap() through a snmpset call then the agent gives segmentation fault. i.e. I make a snmpset on a particular column and within its write function I call

Re: SNMPv3 and encryption

2004-09-10 Thread cnelson
I put the following in /var/net-snmp/snmpd.conf: createUser admin MD5 admin DES [but] When I try: snmpwalk -v 3 -n -u admin -a MD5 -A adminpwd -x DES -X adminpwd -l authPriv theserver system I get: snmpwalk: Decryption error Either

Re: Adding traps

2004-09-10 Thread Dave Shield
I can see the coldStart trap being received but my script is not run. Within the snmptrapd.conf file I added the following line: traphandle .1.3.6.1.6.3.1.5.1 /usr/bin/perl /usr/local/share/snmp/cold.pl Try traphandle .1.3.6.1.6.3.1.1.5.1 /usr/bin/perl /usr/local/share/snmp/cold.pl

Re: Passing the listener address of the inbound request to the subagent?

2004-09-10 Thread bill smith
I may have to go in the direction of community string contexts, although that creates more work on the (closed source) poller. Not sure if I can make it happen on that side. Thanks Robert, for the idea of using contexts as a communications conduit to the subagent - here I go with an ugly hack

Re: Adding traps

2004-09-10 Thread Gary Clark
Hi Dave, Yep did that. Its looks like its doing something different. I see it crashing with a broken pipe? Any ideas? Cheers, Garyc - Original Message - From: Dave Shield [EMAIL PROTECTED] To: Gary Clark [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, September 10, 2004 9:26 AM

Re: SNMPv3 and encryption

2004-09-10 Thread cnelson
- Original Message - From: Dave Shield [EMAIL PROTECTED] Date: Friday, September 10, 2004 9:28 am Subject: Re: SNMPv3 and encryption ... After rebooting the system where the agent runs and seeing createUser turned into usmUser, I see: $ snmpwalk -v 3 . -l authPriv

Community strings, contexts and (sub)agents

2004-09-10 Thread bill smith
Robert Story put me on an alternate thinking path to a prior query I made regarding passing listener address to the subagents. The suggestion was to pass the context to the subagent - which is seemingly supported.I havent found any docs/pointers on how to do that. But after researching

Re: Adding traps

2004-09-10 Thread Gary Clark
Hello, The problem I'm seeing is that the snmptrapd.conf I dont think is being accessed due to the script not being ran. The snmptrapd.conf: now contains the following which Dave recommended: traphandle .1.3.6.1.6.3.1.1.5.1 /usr/bin/perl /usr/local/share/snmp/cold.pl I then used the

Re: SNMPv3 and encryption

2004-09-10 Thread Dave Shield
The/a big differenece between v2c and v3 is that v2c uses a community string, passed in the clear whereas v3 uses a user and password passed on an encrypted channel. Is that right? Not really, no. SNMPv1/2c requests are of the general form: ( community, PDU ) where PDU is the

Newbie : New MIB

2004-09-10 Thread Preethy Yarlagadda
Hi everyone, I am a student implementing a project for one of my classes. I want to add a new MIB and poll the values. I tried to follow all the steps given at http://www.net-snmp.org/tutorial-5/toolkit/mib_module/index.html Immediately after adding the MIB, I can see everything through

Re: 5.1.1 pass problem (maybe timeout)

2004-09-10 Thread Users
On Thu, 09 Sep 2004 22:03:40 -0300 Javier wrote: JS I'm having problems using 'pass' with 5.1.1 JS JS I made a script and it worked before, but now, after an upgrade it doesn't JS work anymore. JS JS But if I do a strace of the snmpd daemon, then it works, its like an JS internal timeout

Re: Community strings, contexts and (sub)agents

2004-09-10 Thread Users
On Fri, 10 Sep 2004 13:45:30 -0400 bill wrote: BS Robert Story put me on an alternate thinking path to a prior query I BS made regarding passing listener address to the subagents. The BS suggestion was to pass the context to the subagent - which is BS seemingly supported.I havent found any

Re: Adding traps

2004-09-10 Thread Gary Clark
Hello, I correct the perl script to dump to a text file and everything works fine. Thanks, garyc - Original Message - From: Gary Clark [EMAIL PROTECTED] To: Gary Clark [EMAIL PROTECTED]; Dave Shield [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, September 10, 2004 3:36 PM

Re: Newbie : New MIB

2004-09-10 Thread Gary Clark
Hiya, What I did when trying (still trying) to understand this baby was fill it with trace. There are examples already in the code. However run the snmpd agent with -d or -D this will dump allow you to see some action. See the log file in /var/net-snmp/snmpd.log. Providing you have built

Re: How to specify the number of retries to be used when calling send_v2trap

2004-09-10 Thread Dave Shield
how can I confirm this response on agent side? I've already answered this - you can't. Also, If NMS is down which lead to a timeout, How the agent side can know this event? It doesn't. There's no handling of timed-out informs. Dave

Re: SNMPv3 and encryption

2004-09-10 Thread Dave Shield
and in /usr/share/snmp/snmpd.conf, I've got: accessadminanyauth exact all allall accessadminanypriv exact all allall Not a good idea. Just have *one* entry for a given group. Either accessadminany

Re: Community strings, contexts and (sub)agents

2004-09-10 Thread bill smith
Yep, it's pretty new, and documentation is usually pretty low priority. err... well, for the request to even get to the sub-agent, it has to get through vacm community string checks. I hope you weren't planning on bypassing those. Nah, not bypaassing - just allowing access to all the