Problem with pass_persist and snmpset

2005-08-04 Thread Ambroise GUABELLO
Hi, I use the pass_persist mode and each time I try to do a snmpcmd after a snmpset command I have the same message: "NoSuchName". For example, If I do the following operations, I have: - snmpget => OK - snmpset => OK - snmpget => Failed -snmpget => OK - snmpset => OK - snmpset => Faile It s

net-snmp-users@lists.sourceforge.net

2005-08-04 Thread Alex Burger
Mark Gonzalez wrote: I am getting this error when I try to run a script. Does anyone know how this can be resolved? I have Net::SNMP installed and am using net-snmp-5.2.1.2. Sample script below. Net-SNMP has a Perl module which is called 'SNMP'. The Perl module you are using (Net::SNMP) ha

Re: question on AgentX sub-agent logging

2005-08-04 Thread Steve S. Law
In my sub-agent program, I have snmp_enable_calllog() and several snmp_log()calls but nothing is being logged in /var/log/snmpd.log file (default?). I thought snmpd.log is only for AgentX master agent and not for sub-agent? Or even sub-agent will be logged to the same file also? Clearly, I don't w

RE: ipXtable not usable in 5.2.1

2005-08-04 Thread Javier Torres
Robert, Since I installed this as a rpm are there options to get this active in that way or would I have to grab the src and recompile that? Regards, Javier -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 11:10 AM To: Javier Torres Cc: net

Re: linear handling of oids in a set command?

2005-08-04 Thread Chris Cunningham
> The SNMP specs do not define order of evaluation - or rather, it says all > objects are to be set 'as if simultaneously'. That's what I was afraid of. Thanks for the reply. --- SF.Net email is Sponsored by the Better Software Conference & EX

Re: linear handling of oids in a set command?

2005-08-04 Thread Robert Story
On Thu, 28 Jul 2005 18:21:19 -0500 Chris wrote: CC> When several objects are set in a single command, I've noticed that CC> the snmp agent groups sets of the same object together. The SNMP specs do not define order of evaluation - or rather, it says all objects are to be set 'as if simultaneously'

Re: ipXtable not usable in 5.2.1

2005-08-04 Thread Robert Story
On Thu, 28 Jul 2005 20:37:57 -0400 Javier wrote: JT> I was hoping for some help on this one. The release notes says this JT> works in this release but the rpm I pulled down to work with my fc2 JT> boxes does not have this available. It's not enabled by default, so you'll have to rebuild to get it

IRIX platform - disregard my prev email of 1st aug

2005-08-04 Thread Hale, Charlotte
I have manged to muddle through & am on other problems now!   Charlotte   ---   

net-snmp-users@lists.sourceforge.net

2005-08-04 Thread Mark Gonzalez
I am getting this error when I try to run a script. Does anyone know how this can be resolved? I have Net::SNMP installed and am using net-snmp-5.2.1.2. Sample script below.   #!/usr/bin/perl # DOCSIS-SNR-snmp Modified for www # 06/1/2005   $ENV{'MIBDIRS'} = '/usr/local/share/snmp/mi

RE: SNMPTRAP multiple port binding

2005-08-04 Thread Andy Ford
Thanks for responding Robert. I have gone for multiple snmptrapd's binding to different ports Regards Andy -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 11:19 AM To: Andy Ford Cc: net-snmp-users@lists.sourceforge.net Subject: Re: SNMPTRA

Re: question on AgentX sub-agent logging

2005-08-04 Thread Robert Story
On Fri, 29 Jul 2005 15:07:11 -0700 (PDT) Steve wrote: SSL> So far I have been using printf statements in my SSL> sub-agent. I want to log them into a file instead, so SSL> in the sub-agent main program, I set 'syslog' to 1 SSL> which invokes snmp_enable_callog(). However, when I SSL> run it, I don'

Re: IP address in com2sec directive?

2005-08-04 Thread Robert Story
On Mon, 01 Aug 2005 13:44:48 -0400 [EMAIL PROTECTED] wrote: CRC> The description of com2sec documentation CRC> on snmpd.conf.5 isn't clear (to me) and searching the list archives for CRC> "localhost" or "localhost com2sec" found no relevant hits. I'd guess I CRC> can at least put "127.0.0.1/32" b

Re: include file & shell interaction

2005-08-04 Thread Robert Story
On Mon, 1 Aug 2005 17:21:03 -0400 Javier wrote: JT> I was wondering if I could add an include file or add shell commands to JT> the snmpd.conf file to look at? No. JT> I am looking for this so I can roll out a standard config onto many JT> machines 200 + and having an include file would allow for

Re: Visual Basic - net-snmp?

2005-08-04 Thread Robert Story
On Mon, 1 Aug 2005 15:12:21 -0700 (PDT) shahram wrote: SAD> I was wondering if there is any development in Visual SAD> Basic for net-snmp. SAD> SAD> Any ActiveX, DLL, etc. No VB that I'm aware of, but there is a windows port which results in a dll. See the README.win32 in the source distribution.

Re: Does snmpset send a reply?

2005-08-04 Thread Robert Story
On Tue, 02 Aug 2005 11:11:32 +0200 Ambroise wrote: AG> The set request is sent AG> The agent receives the request, process it AG> and my application receives no response. AG> AG> So I was wondering if the net-snmp agent sends a reponse on a set request? Yes. You can run with -d flag to see packet

Re: how to set trapsink programatically

2005-08-04 Thread Robert Story
On Tue, 2 Aug 2005 15:40:18 +0200 bohan wrote: BB> Is there any API to set trapsink destinations (add it in BB> snmpTargetAddrTable)? Or therit is only possible via snmpd.conf? It is possible from within the master agent, or externally via the standard target/notification MIBs. -- NOTE: messages

Re: snmpTargetMIB and sub agentx

2005-08-04 Thread Robert Story
On Wed, 3 Aug 2005 01:16:39 +0200 bohan wrote: BB> Is there any way to manage (get, set) snmpTargetMIB directly from sub BB> agentx? Not currently. You would have to do some out-of-band IPC with the master agent to do this. -- NOTE: messages sent directly to me, instead of the lists, will be del

Re: Tokens to debug snmpd ?

2005-08-04 Thread Robert Story
On Thu, 21 Jul 2005 15:07:40 +0200 maxime wrote: MS> sorry to send a second mail in a day, but i would like to debug snmpd MS> but the only thing to be found in the manual is "-D[Tokens]", and i MS> cannot find where is the list of available tokens :( MS> Could someone help me to find it ?

Re: SNMPTRAP multiple port binding

2005-08-04 Thread Robert Story
On Wed, 20 Jul 2005 17:02:38 +0100 Andy wrote: AF> What I am after is snmptrapd passing the port number of the trap AF> currently being processed to the traphandler script. So essentially, the AF> first line from the traphandler output would be 'port:' (if the f/w AF> forwarded from port 162->9

Re: about snmpd sending traps/informs

2005-08-04 Thread Robert Story
On Wed, 20 Jul 2005 17:27:29 +0200 maxime wrote: MS> First, I'd like snmpd to watch if some values in the system have MS> changed. I know how to do this for things in MIBs, but how could i do MS> this for a number in a file ? Is there a node of the ucdavis MIB that MS> allows to do this or shoul

Re: Interfaces reports as down (I am really stuck!)

2005-08-04 Thread Robert Story
On Tue, 2 Aug 2005 08:10:42 +0200 Mohr wrote: MJ> I hate to be a pest, but could you send the patch again? For whatever MJ> reason, I did not get it in the original mail Thanks! No problem, my fault, pestering is the right thing in this case... patch attached.. -- NOTE: messages sent directly to

Re: String indexed table OID display

2005-08-04 Thread Robert Story
On Wed, 20 Jul 2005 11:01:35 -0400 (EDT) Phil wrote: PB> > Is serverProcessName declared as an IMPLICIT index? PB> PB> Ahh... We're getting somewhere! A question I don't understand! PB> PB> I didn't find anything googling for IMPLICIT indices, but when I PB> stumbled across IMPLIED in section 7