Re: Can We place Traps as part of Tables

2006-10-16 Thread santhosh
Hello Dave, > What information (if any) should be associated with a "LocalPair1" object, > and under what circumstances would you want to generate a > "LocalPair1"-related trap? let me try to explain with the code I am using part of Code : INT8 localpair1value = 10; SN_Object_s Alarm_Local

problem with PROC directive

2006-10-16 Thread rajasekhar.tellidevulapalli
Hi,      I’m using PROC directive to monitor whether some “X” process running on the agent machine or not.    The “X” process is started before the SNMP agent is started. Now the snmpget on  the error flag 1.3.6.1.4.1.2021.2.100    shows me as 0 which is correct, but Iam getting the tra

How to catch errors in init_snmp

2006-10-16 Thread Arnaud BODENAN
Hi, The function init_snmp is prototyped as a void function but can generate errors. Example: If I set an invalid address in the variable NETSNMP_DS_AGENT_X_SOCKET, an error is triggered in init_snmp: Error: Failed to connect to the agentx master agent (tcp:TEST_UNKONOWN_HOST:1450): Unknown ho

Re: problem with PROC directive

2006-10-16 Thread Dave Shield
On 16/10/06, <[EMAIL PROTECTED]> wrote: >I'm using PROC directive to monitor whether some "X" process running on > the agent machine or not. > >The "X" process is started before the SNMP agent is started. Now the > snmpget on the error flag > > 1.3.6.1.4.1.2021.2.100shows me as 0 which

Re: Can We place Traps as part of Tables

2006-10-16 Thread Dave Shield
On 16/10/06, santhosh <[EMAIL PROTECTED]> wrote: > let me try to explain with the code I am using Let's leave the code to one side for now. I'm still trying to get a clear picture of the behaviour and functionality of the underlying system. > So in the above case I will update the "localpair1val

async query using SNMPv3

2006-10-16 Thread Mathew Bielejeski
I am attempting to make async SNMP queries using SNMPv3 but instead of receiving a response to my query in the callback function I am receiving the response to the engineID discovery.   Do I need to resend the query in my callback function (with the engineID) or is there another method of

RE: problem with PROC directive

2006-10-16 Thread rajasekhar.tellidevulapalli
Hi Dave, Thanks for the reply, tried changing the polling interval from 1s to 10s but no use. Attaching the debug output of "snmpd -f -Le -Ddisman" (with the "X" process started). Thanks & Regards, T.Rajasekhar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: problem with PROC directive

2006-10-16 Thread Dave Shield
On 17/10/06, <[EMAIL PROTECTED]> wrote: > Thanks for the reply, tried changing the polling interval from 1s to 10s but > no use. What about '-S' ? (Either with -r 1 or -r 10) ? > Attaching the debug output of "snmpd -f -Le -Ddisman" (with the "X" process > started). Aha! >> disman:event:con

snmpd/agentx return error and multi varbind

2006-10-16 Thread Naylor, Mark
Hello, I have been developing a net-snmp based AgentX application recently for some enterprise MIBS. While testing the AgentX subagent the following feature was discovered. It appears not to conform to the snmp standards. I will explain further below. Take a simple snmpset command to set SNMPv