Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SNMP - Getting information from a process

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.

like image 241
Chris Avatar asked May 12 '26 12:05

Chris


1 Answers

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.

like image 190
raz3r Avatar answered May 14 '26 15:05

raz3r



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!