简体   繁体   English

使用SNMP获取服务器信息

[英]Using SNMP to obtain server information

I need to obtain information about my servers running on Linux Redhat, Windows Server 2003 and Windows Server 2008. I have found the SNMP protocol to be useful for my purpose, but I am not clear how to implement it in my application.我需要获取有关在 Linux Redhat、Windows Server 2003 和 Windows Server 2008 上运行的服务器的信息。我发现 SNMP 协议对我的目的很有用,但我不清楚如何在我的应用程序中实现它。 I don't even know how to get started.我什至不知道如何开始。

Also, is it possible to monitor the applications/programs running on the servers?另外,是否可以监控服务器上运行的应用程序/程序? It is my first time working with SNMP, so I am finding it extremely difficult to understand how it has to be implemented.这是我第一次使用 SNMP,所以我发现很难理解它必须如何实现。 I have understood the architecture of SNMP(SNMPManager, SNMPAgent, Trap messages, MIB), but finding it difficult to implement them.我已经了解了 SNMP(SNMPManager、SNMPAgent、Trap 消息、MIB)的架构,但发现它们很难实现。

Please guide me in as detailed way as possible and mention links to any tutorials.请尽可能详细地指导我,并提及任何教程的链接。

SNMP is not so simple as should be ... if you want to provide control to your system/resources the best choice is to use an external native tool like: SNMP并不像应该的那么简单......如果你想控制你的系统/资源,最好的选择是使用外部本机工具,如:

  • PRTG :You can use free evaluation sensor PRTG :您可以使用免费的评估传感器

  • CACTI : open-source and web-based tool CACTI :开源和基于网络的工具

  • SolarWinds :expensive but powerful choice SolarWinds :昂贵但功能强大的选择

    After that you can monitor your system using WMI protocol (for Win OS), direct agent installed on it or script.之后,您可以使用 WMI 协议(适用于 Win OS)、安装在其上的直接代理或脚本来监控您的系统。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM