简体   繁体   English

使用Zenoss 3.0 Core监控IP电话

[英]Monitoring IP phones with Zenoss 3.0 Core

I have the following situation. 我有以下情况。 I have some IP phones configured and registered in to a CCM in the lab. 我在实验室中配置了一些IP电话并将其注册到CCM。 I have already enabled the SNMP service in CCM and I'm able to make a SNMP walk using a linux shell (the community and the version are OK). 我已经在CCM中启用了SNMP服务,并且能够使用linux shell进行SNMP遍历(社区和版本都可以)。 I would like to monitor the amount of IP phones that are registered/unregistered using Zenoss. 我想监视使用Zenoss注册/注销的IP电话的数量。

The CCM OID for those request are the following: 这些请求的CCM OID如下:

ccmRegisteredPhones   : 1.3.6.1.4.1.9.9.156.1.5.5.0
ccmUnregisteredPhones : 1.3.6.1.4.1.9.9.156.1.5.6.0

I'm able to get the value (number of registered and unregistered phones in the server) using the smnpwalk in the command line. 我可以在命令行中使用smnpwalk来获取值(服务器中已注册和未注册电话的数量)。 Everything works 'till now, but I would like to monitor those values using Zenoss and make an alarm wheter the amount of unregistered phones is below a value. 一切工作到现在为止,但是我想使用Zenoss监视这些值,并在未注册电话的数量低于某个值时发出警报。

I would like to know the steps I have to follow in Zenoss 3.0 Core to get those request working/monitoring since I can't get anything clear from the Zenos UserGuide. 我想知道我必须在Zenoss 3.0 Core中遵循的步骤,才能使这些请求正常工作/监视,因为我无法从Zenos UserGuide中获得任何清晰的信息。

I would really appreciate any help or guidance. 我将不胜感激任何帮助或指导。

Best regards 最好的祝福

Create a new monitoring template called "CCMPhones" or something like that. 创建一个名为“ CCMPhones”或类似名称的新监视模板。 Add two SNMP datasources to this monitoring template. 将两个SNMP数据源添加到此监视模板。 The convention would be to name them after the OIDs: ccmRegisteredPhones and ccmUnregisteredPhones. 约定是用OID命名它们:ccmRegisteredPhones和ccmUnregisteredPhones。 Put the appropriate OIDs from your question as the OIDs for these datasources. 根据您的问题输入适当的OID作为这些数据源的OID。

You can then add these to a graph and create thresholds for them if desired. 然后,您可以将它们添加到图形中,并根据需要为其创建阈值。

At this point you have the monitoring ready to go, but it isn't being applied to any devices. 至此,您可以进行监视了,但尚未将其应用于任何设备。 I would recommend creating a device class for your CCM devices. 我建议为您的CCM设备创建设备类。 If they're Linux-based you'd create /Server/Linux/CCM and place your CCM devices there. 如果它们基于Linux,则可以创建/ Server / Linux / CCM并将CCM设备放在此处。 Then in that device class you can click over to More and choose "Bind Templates" from the gear menu in the bottom left. 然后,在该设备类别中,您可以点击更多,然后从左下方的齿轮菜单中选择“绑定模板”。 Select your CCMPhones template. 选择您的CCMPhones模板。

Now any devices you put into the /Server/Linux/CCM device class will have the CCMPhones monitoring applied to them. 现在,您放入/ Server / Linux / CCM设备类的所有设备都将应用CCMPhones监视。

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

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