SNMP-从进程获取信息
我需要使用称为Zenoss的监视工具在多台服务器上设置过程监视器.我面临的问题是如何通过SNMP获取有关特定进程的信息?我对SNMP一点都不熟悉,我很难找到所需的信息.
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.
我一直在尝试使用一种称为SNMP-Probe的工具,但它似乎只提供基本的系统信息,我不需要或不能使用的任何信息.
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.
感谢您的帮助.
您需要的是查询 hrSWRunPerfEntry ).但是,如何执行查询"取决于您所使用的环境,我几乎可以确定vbs包含SNMP库.
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.