Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that directly relate to Linux/Unix operating systems.
Moderators: Developers , Moderators
JohnneyBoy
Posts: 7 Joined: Fri Aug 24, 2007 9:30 am
Post
by JohnneyBoy » Fri Aug 24, 2007 12:12 pm
Hello,
Is there an OID for the total number of processes runing on a linux box?
John
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Fri Aug 24, 2007 2:09 pm
HOST-RESOURCES-MIB::hrSystemProcesses holds that data
Reinhard
JohnneyBoy
Posts: 7 Joined: Fri Aug 24, 2007 9:30 am
Post
by JohnneyBoy » Fri Aug 24, 2007 3:03 pm
Is that via snmp to/from a remote machine, with snmpd running? or rather the local machine? I was trying to get the info from a remote machine.
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Fri Aug 24, 2007 3:11 pm
That doesn't matter as long as the HOST MIB is supported on the target, be it localohost or remote
Reinhard
JohnneyBoy
Posts: 7 Joined: Fri Aug 24, 2007 9:30 am
Post
by JohnneyBoy » Fri Aug 24, 2007 5:03 pm
Ok, great thanks, I'll give it a try.
JohnneyBoy
Posts: 7 Joined: Fri Aug 24, 2007 9:30 am
Post
by JohnneyBoy » Fri Aug 24, 2007 5:34 pm
Hello,
OK, I'm not convinced that HOST-MIB is supported in snmp-net (fedora 6), as asking for the number of processes does not produce any results, just a falt line, humm
Is there anyway I can prove this. i.e. by using snmpwalk with the correct OID, whatever it is.
John
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Sat Aug 25, 2007 5:08 am
Sure:
Code: Select all
snmpwalk -c ... -v 1 localhost hrSystemProcesses
Reinhard
JohnneyBoy
Posts: 7 Joined: Fri Aug 24, 2007 9:30 am
Post
by JohnneyBoy » Sat Aug 25, 2007 5:13 am
Thanks, that worked a treat, so it looks like the snmp agent is working fine.
John
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Sat Aug 25, 2007 5:22 am
Then, please use the "Host MIB - Logged In Users" Graph Template for those hosts
Reinhard
Users browsing this forum: No registered users and 0 guests