SNMP-从进程获取信息 [英] SNMP - Getting information from a process

查看:594
本文介绍了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.

感谢您的帮助.

推荐答案

您需要的是查询

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.

这篇关于SNMP-从进程获取信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆