简体   繁体   English

使用“ snmp代理”而不是“ zabbix代理”来监视具有Zabbix的服务器是否可行?

[英]Is it feasible to use “snmp agent” instead of “zabbix agent” to monitoring the servers with Zabbix?

I want to monitor some servers in a cluster with Zabbix. 我想用Zabbix监视群集中的某些服务器。 if it is feasible to use "snmp agent" instead of "zabbix agent" to monitoring the servers, I will not install zabbix agent in every server. 如果可以使用“ snmp代理”代替“ zabbix代理”来监视服务器,则我不会在每台服务器上都安装zabbix代理。 So what is the advantage of zabbix agent than the snmp agent? 那么zabbix代理比snmp代理的优势是什么?

It depends on which parameters would you like to monitor. 这取决于您要监视的参数。 We are using SNMP monitoring on hosts (clusters and standalones) where vendor does not allow installation any other application except from himself. 我们正在主机(群集和独立服务器)上使用SNMP监视,在这些主机上,供应商不允许自己安装其他任何应用程序。

Even in case of SNMP you need to modify configuration of your SNMP daemon on monitored host. 即使使用SNMP,您也需要在受监视的主机上修改SNMP守护程序的配置。 But in some cases default configuration is sufficient to monitor at least some values without any installation/configuration/modification on monitored host. 但是在某些情况下,默认配置足以监视至少一些值,而无需在受监视的主机上进行任何安装/配置/修改。 Be advised that the network must allow SNMP traffic (161/udp). 请注意,网络必须允许SNMP通信(161 / udp)。 I don't need to mention that SNMP v1 and v2c can be seen by somebody listening on the network. 我无需提及可以通过在网络上侦听的人看到SNMP v1和v2c。 Values which can be monitored by SNMP daemon are listed in OID list http://www.alvestrand.no/objectid/top.html . OID列表http://www.alvestrand.no/objectid/top.html中列出了可以由SNMP守护程序监视的值。

On the other hand Zabbix agent can monitor similar values like SNMP daemon. 另一方面,Zabbix代理可以监视类似值,例如SNMP守护程序。 Additionaly there are some parameters which are more complex (like DNS response etc.). 另外,还有一些更复杂的参数(例如DNS响应等)。 The list of values which can be monitored by Zabbix agent is on https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/zabbix_agent Zabbix代理可以监视的值的列表位于https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/zabbix_agent

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

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