SNMP - Getting information from a process

Chris picture Chris · Apr 3, 2012 · Viewed 14.3k times · Source

I need to setup a process monitor on a number of servers using a monitoring tool called Zenoss. The problem I'm facing is how can I get information on a specific process via SNMP? I'm not familiar with SNMP at all and I'm having trouble finding out what I need.

I've been trying to use a tool called SNMP-Probe but it only seems to give basic system information, nothing that I need or can use.

Any help here is appreciated.

Answer

raz3r picture raz3r · Apr 5, 2012

What you need is to query the hrSWRunTable in order to gather the information you need. This MIB gives you a lot of information such as process name, path, type, status, parameters, CPU and RAM usage even though those two informations are stored on another MIB (hrSWRunPerfEntry). However how you do that "query" depends on the environment you're using, I am almost sure that vbs includes an SNMP library.