帮我生成一个用于zabbix6.0版本监控Cisco CUCM的模板格式为yaml格式,具体的指标如下1. ccmRegisteredPhones: 已注册电话的数量 2. ccmRegisteredGateways: 已注册网关的数量 3. ccmCPUUtilization: CPU利用率 4. ccmMemoryUtilization: 内存利用率 5. ccmCurrentCallActive: 当前通话的数量 6. ccmMaxConcurrentCalls: 最大并发通话数 7. ccmTotalInboundCalls: 总入站通话数 8. ccmTotalOutboundCalls: 总出站通话数
时间: 2024-03-26 22:41:29 浏览: 152
基于zabbix基础的监控模板和脚本
好的,以下是一个基本的用于zabbix 6.0版本监控Cisco CUCM的模板,格式为yaml:
```yaml
template:
name: Cisco CUCM Monitoring
groups:
- Cisco CUCM
applications:
- Cisco CUCM Performance
discovery_rules:
- name: Cisco CUCM Discovery
type: SNMP
snmp_community: public
snmp_oid: 1.3.6.1.4.1.9.9.156.1.7.1.1
snmp_port: 161
delay: 600
min_query_interval: 60
lifetime: 30m
item_prototypes:
- name: ccmRegisteredPhones
type: SNMPv2
key: ccmRegisteredPhones
value_type: numeric_unsigned
snmp_oid: 1.3.6.1.4.1.9.9.156.1.5.1.1
delay: 60
history: 7d
trends: 365d
units: phones
application: Cisco CUCM Performance
- name: ccmRegisteredGateways
type: SNMPv2
key: ccmRegisteredGateways
value_type: numeric_unsigned
snmp_oid: 1.3.6.1.4.1.9.9.156.1.5.1.2
delay: 60
history: 7d
trends: 365d
units: gateways
application: Cisco CUCM Performance
- name: ccmCPUUtilization
type: SNMPv2
key: ccmCPUUtilization
value_type: float
snmp_oid: 1.3.6.1.4.1.9.9.109.1.1.1.1.5.6
delay: 60
history: 7d
trends: 365d
units: %
application: Cisco CUCM Performance
- name: ccmMemoryUtilization
type: SNMPv2
key: ccmMemoryUtilization
value_type: float
snmp_oid: 1.3.6.1.4.1.9.9.48.1.1.1.5.1
delay: 60
history: 7d
trends: 365d
units: %
application: Cisco CUCM Performance
- name: ccmCurrentCallActive
type: SNMPv2
key: ccmCurrentCallActive
value_type: numeric_unsigned
snmp_oid: 1.3.6.1.4.1.9.9.156.1.8.1.1
delay: 60
history: 7d
trends: 365d
units: calls
application: Cisco CUCM Performance
- name: ccmMaxConcurrentCalls
type: SNMPv2
key: ccmMaxConcurrentCalls
value_type: numeric_unsigned
snmp_oid: 1.3.6.1.4.1.9.9.156.1.8.1.2
delay: 60
history: 7d
trends: 365d
units: calls
application: Cisco CUCM Performance
- name: ccmTotalInboundCalls
type: SNMPv2
key: ccmTotalInboundCalls
value_type: numeric_unsigned
snmp_oid: 1.3.6.1.4.1.9.9.156.1.8.1.3
delay: 60
history: 7d
trends: 365d
units: calls
application: Cisco CUCM Performance
- name: ccmTotalOutboundCalls
type: SNMPv2
key: ccmTotalOutboundCalls
value_type: numeric_unsigned
snmp_oid: 1.3.6.1.4.1.9.9.156.1.8.1.4
delay: 60
history: 7d
trends: 365d
units: calls
application: Cisco CUCM Performance
```
请注意,此模板仅为示例,您可能需要根据实际情况进行修改。此外,您也需要确保您的Cisco CUCM支持SNMP,并且已经正确配置了SNMP Community字符串。
阅读全文