Re: Is there a method to block retry requests to a sub agent?

2009-04-05 Thread Mark Ellison
Hi Jason, On 04/03/2009 06:32 PM, Jason Rymal wrote: > I have a problem where a management server (which I have no control > over) is polling my SNMP enabled device. My subagent starts up a process > and does not immediately return the value for the OID being polled. > Because of this, the server

Regarding snmp_open for multiple sessions

2009-04-05 Thread Tanisha Kashyap
Hi, I need to configure multiple trap destinations and have provided a GUI for the same. The information entered in the GUI is used to open a session with the NMS. I am able to do it for one NMS. I donot know how to proceed for multiple NMSes. Regards Tanisha "DISCLAIMER: This message is prop

Is there a method to block retry requests to a sub agent?

2009-04-05 Thread Jason Rymal
I have a problem where a management server (which I have no control over) is polling my SNMP enabled device. My subagent starts up a process and does not immediately return the value for the OID being polled. Because of this, the server times out and sends a second request. This results in 2 proce

Re: help required

2009-04-05 Thread Les Mikesell
Dave Shield wrote: > 2009/4/5 anshul mittal : >> I have been told to somehow modify the snmptable.c(source code >> provided with net-snmp) .The idea is to first find the index of the >> process from the hrSWRun by inputting the name and then using this >> index to get the CPU usage and memory usage

help required

2009-04-05 Thread anshul mittal
I need to write a C code whereby I can get to know the CPU usage and memory usage of a running process.The input for this C code will be the name of the process and output will be the memory usage and CPU usage of the process.I have to use net-snmp for this. I have been told to somehow modify the

Re: help required

2009-04-05 Thread Dave Shield
2009/4/5 anshul mittal : > I have been told to somehow modify the snmptable.c(source code > provided with net-snmp) .The idea is to first find the index of the > process from the hrSWRun by inputting the name and then using this > index to get the CPU usage and memory usage from hrSWRunPerf. I don

Re: base table - dependent table implementation

2009-04-05 Thread Dave Shield
2009/4/5 mwnn : > I am working on extending the Net-SNMP agent. I have the following > situation: > > 1. Base table whose ROWSTATUS column is READ-CREATE. > 2. Dependent table which has the same index as the base table. > > In the above scenario, when a row is deleted in the base table the > corres

base table - dependent table implementation

2009-04-05 Thread mwnn
Hi all, I am working on extending the Net-SNMP agent. I have the following situation: 1. Base table whose ROWSTATUS column is READ-CREATE. 2. Dependent table which has the same index as the base table. In the above scenario, when a row is deleted in the base table the corresponding row in the dep