ORDER of varbind IN SNMP response PDU

2007-07-30 Thread somenath.pal
Hi ALL, I have doubt related to SNMPGET .while responding to SNMPGET query is it expected that SNMP agent during forming response PDU will follow the same order for varbind in which it received the varvind ? For example .if agent has received the Varbind in the following order 1)Atr1

Re: ORDER of varbind IN SNMP response PDU

2007-07-30 Thread Dave Shield
On 30/07/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: is it expected that SNMP agent during forming response PDU will follow the same order for varbind in which it received the varvind ? Yes For example .if agent has received the Varbind in the following order 1)Atr1 2)atr2 3)atr3

RE: ORDER of varbind IN SNMP response PDU

2007-07-30 Thread somenath.pal
Hi Dev, Thanks for your response. But I want to have little more clear understanding. Suppose all the three varbinds are part of same request PDU then is it also expected that response PDU will have the same order? Regards, Somanath -Original Message- From: [EMAIL PROTECTED]

Re: ORDER of varbind IN SNMP response PDU

2007-07-30 Thread Dave Shield
On 30/07/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Suppose all the three varbinds are part of same request PDU then is it also expected that response PDU will have the same order? Yes This is required. The varbinds in the response PDU *must* match the order from the original request.

RE: ORDER of varbind IN SNMP response PDU

2007-07-30 Thread somenath.pal
Hi Dave, Could you please tell me which RFC describe this? Regards, Somanath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, July 30, 2007 2:14 PM To: Somenath Pal (WT01 - TES-Access Networks) Cc:

AW: ORDER of varbind IN SNMP response PDU

2007-07-30 Thread Stefan Mikuszeit
Hi @all How can we force to use PDU 1 or 2 ? The Subagent sends no Data to the Agent (SNMPD), while the Agent (SNMPD) not initalisation the subagent :-( Log Entrys: snmpd: send_trap: Cannot send V1 PDU on V2 session snmpd: send_trap: Cannot send V1 PDU on V2 session snmpd: send_trap: Cannot

Traps and polling

2007-07-30 Thread josu
Hello, I would like to know how to mix traps reception and polling requests in a monitoring program. I think I need to check some timestamps in both messages to know which one was sent last, otherwise my program may flicker. José

Re: Help with snmptrap

2007-07-30 Thread Dave Shield
On 30/07/07, Mateus Interciso [EMAIL PROTECTED] wrote: But I also want it to execute the command /bin/sh /tmp/trapTst.sh On the host that is running the trap receiver. OK - what is the trap PDU that should trigger this command? Dave

Customize output sprint_realloc_variable

2007-07-30 Thread Vaucouleur Nicolas
Hi, I'm using net snmp api to exec some request on localhost and to give the response to another piece of software. My problem is that i use snmp_synch_response to send my request and i catch it in a response pdu, after i read the variables list to comput the result. But i find no way to

Re: SNMP times out if running as a service

2007-07-30 Thread Dave Shield
On 30/07/07, Javier Santiago [EMAIL PROTECTED] wrote: When snmpwalk is executed for localhost, proper response is received. But, if executed for a host's public IP, Times out always. That sounds like either access control, or firewall settings. What is in your snmpd.conf file? What is in the

help with SNMP_PARSE_OID

2007-07-30 Thread [EMAIL PROTECTED]
Hi all! I've used SNMP_PARSE_OID in order to get OID from object name. I report what i've done: ** DECLARATIONS OF USED VARIABLES ** oid name [MAX_OID_LEN]; u_int name_length = OID_LENGTH(name); char *names; ** ** IN MAIN PROGRAM ** if

Re: SNMP times out if running as a service

2007-07-30 Thread Dave Shield
On 30/07/07, Javier Santiago de la Peña [EMAIL PROTECTED] wrote: Tested. Did not work, also. I can't query using IP, just localhost or 127.0.0.1. If you've removed the entry com2sec local 127.0.0.1/32public and the agent still responds to localhost requests, then I'd suspect

Re: SNMP times out if running as a service

2007-07-30 Thread Javier Santiago
Hi Dave, Sorry, maybe I did not explain it properly.. I removed the 127.0.0.1 entry and yes, it did not provide any response...but public IP also timed out. So I have activated the 127.0.0.1 entry again (of course, I restarted snmp every time I made a modification). Regards, -- *Javier

It's just a test..

2007-07-30 Thread cscs nnn
So if I write here, I'll see it in the Email Archive? 2800 állásból Te is találsz megfelelőt! Mérnöki, értékesítői, asszisztensi, pénzügyi és IT állások a Jobline.hu-n! www.jobline.hu http://ad.adverticum.net/b/cl,1,6022,186603,243027/click.prm

Re: SNMP times out if running as a service

2007-07-30 Thread Dave Shield
On 30/07/07, Javier Santiago de la Peña [EMAIL PROTECTED] wrote: How do I know which file is snmpd reading to apply configuration?. Run snmpd -Dread_config That will display the file(s) that are being loaded, and the directives as they are read in. Dave

Re: SNMP times out if running as a service

2007-07-30 Thread Javier Santiago de la Peña
Hi Dave, Hum... I have looked for another snmpd.conf file and the only one is at /var/lib/snmpd.conf, and is a persistent file. How do I know which file is snmpd reading to apply configuration?. regards, Javier Santiago de la Pea // Zasylogic.com mobile:+0034 630186151 work:+0034

NET-SNMP 5.4 and Multiple CPU's

2007-07-30 Thread Mark Khan
Hello: Could someone please help me with this problem: I am a newly hired SA. In order to monitor CPU usage with Solaris systems my predecessor loaded Net-SNMPD 5.4 on systems here with multiple CPU's and then moved on. The Networking group is using a Product called SolarWinds to monitor

Help: Can not set a mib variable to a value in the range.

2007-07-30 Thread George Li
Hi All, I have a mib variable which has range (0..130). I can set the variable to anything from 1 to 130 (including 1 and 130). But when I was trying to set the variable to 0, I got an error like: Error in packet. Reason: wrongValue (The set value is illegal or unsupported in some way) Could

Re: Help: Can not set a mib variable to a value in the range.

2007-07-30 Thread Dave Shield
On 30/07/07, George Li [EMAIL PROTECTED] wrote: I have a mib variable which has range (0..130). I can set the variable to anything from 1 to 130 (including 1 and 130). But when I was trying to set the variable to 0, I got an error like: Error in packet. Reason: wrongValue (The set value is

IF-MIB Solaris 9/SPARC

2007-07-30 Thread Joe Gainey
I've seen one other post on here regarding this. I have compiled and installed version 5.4 of the net-snmp package on a Solaris 9/SPARC system. Here are the options used to when running the configure script: --with-perl-modules=no \ --disable-embedded-perl \ --disable-shared \

Re: Help: Can not set a mib variable to a value in the range.

2007-07-30 Thread George Li
Thanks Dave! -George On 7/30/07, Dave Shield [EMAIL PROTECTED] wrote: On 30/07/07, George Li [EMAIL PROTECTED] wrote: I have a mib variable which has range (0..130). I can set the variable to anything from 1 to 130 (including 1 and 130). But when I was trying to set the variable to 0,