Thread Usage of a specific process

2010-03-29 Thread Jatin Davey
Hi Is there a MIB parameter that i can use to monitor the "threads usage" by a specific process. Say for example i have a process named as "java" running on my linux box whose threads i need to monitor. Please let me know if we have a MIB parameter to achieve it. Thanks Jatin

Re: Doing things in a callback routine

2010-03-29 Thread Thomas Andrews
Dave Shield wrote: > On 29 March 2010 16:16, Thomas Andrews wrote: >> In a callback routine for netsnmp_register_int_instance() I would like >> to be able to do things like turn on a kettle. >> >> My problem is that in the callback I don't know if it's a GET or a SET. > > Have a look at the "watc

Help on Index out of range error ‏

2010-03-29 Thread X Z
Hi, I implemented a table using iterator, and I can do snmpwalk on the table. But snmpget gave the Index out of range error. Table index starts from 1. Here is related the code piece, can anyone point out where I did wrong? int myTable_load(netsnmp_cache * cache, void *vmagic) { struct myTab

RE: MIB Parameter to get overall CPU Usage of a Mutli-Processor System

2010-03-29 Thread PEOPLES, MICHAEL P (ATTSI)
Jatin, On a multi-processor Sun box, if you walk the OID .1.3.6.1.4.1.2021.11, you will get, I believe, some of the information you're looking for. This is the UCN-SNMP-MIB MIB. This is generally part of the Net-SNMP distribution. You might also try .1.3.6.1.4.1.2021.10, which gives load averag

Strange behavior on linkUpDownNotificati ons‏

2010-03-29 Thread X Z
Hi, I finally can receive link up/down traps. But here is the strange behavior: 1. link up/down traps only sent after the snmpd is restarted. If I don't restart snmpd, there were no link up/down traps sent. 2. There were too many link up/down traps after snmpd is restarted. I usually saw 3 lin

Re: Doing things in a callback routine

2010-03-29 Thread Dave Shield
On 29 March 2010 16:16, Thomas Andrews wrote: > In a callback routine for netsnmp_register_int_instance() I would like > to be able to do things like turn on a kettle. > > My problem is that in the callback I don't know if it's a GET or a SET. Have a look at the "watched_scalar" helper instead. T

Doing things in a callback routine

2010-03-29 Thread Thomas Andrews
Hi, In a callback routine for netsnmp_register_int_instance() I would like to be able to do things like turn on a kettle. My problem is that in the callback I don't know if it's a GET or a SET. Also, if turning on the kettle failed, how can I convey that failure back to the SET operation? Fo

key authentication problem when using perl extension module in an SNMPv3 environment

2010-03-29 Thread fancyrabbit
Hi, I'm now working in an SNMPv3 environment and use the SNMP perl module to write some utils. the following snmpget command is working: snmpget -v3 -usomeuser -lauthPriv -3k0x7980621067ef954f21e19c0f4fe9f326 -3K0x866117a53b33ef6c9b3c3c3a419d2e17 10.10.1.1 sysDescr.0 which proves the localized keys