Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check CISCO Call Manager - IP phones and gateways
2017-02-02
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
Other
9619
File | Description |
---|---|
check_snmp_cisco_ccm.sh | check_snmp_cisco_ccm.sh |
Check CCM CISCO Call Manager via SNMP. Get status of IP phones and ATA186 gateways.
If you want to check many phones it is recommended to perform check in three steps. First, create a file which lists all device names (SEP+MAC, ATA+MAC) which you want to monitor. Second, use this file as input for the checking of the CCM. The result of this check is then stored in a temporary file. Third, you search through the temporary file by seperate nagios checks. Therefore, you have only one check which interogates with the CCM, and you may create as many nagios checks you want which just searches the results in the temp file.
1) vi /opt/plugins/custom/check_snmp_cisco_ccm.sh.phones.monitored
2) check_snmp_cisco_ccm.sh -H ccm1 -H ccm2 -H ccm3 -V 2c -C public -M deviceliststatus -L /opt/plugins/custom/check_snmp_cisco_ccm.sh.phones.monitored
Result code: OK
OK 37 of 37 found REGISTERED;
3a) check_snmp_cisco_ccm.sh -H dummy -V 2c -C dummy -M filterdeviceliststatus -f "SEPDCCEC1F0707B_SEP88908D738D98_SEP1CE85DC9AD90_SEP3C5EC30C0A95_SEP88908D738D42"
3b) check_snmp_cisco_ccm.sh -H dummy -V 2c -C dummy -M filterdeviceliststatus -f "ATA7C95F322B4A7_ATA95F322B4A701_ATAE8EDF3AA18A6_ATAEDF3AA18A601_ATAE8EDF3AA18E5"
3c) etc.
If you want to check many phones it is recommended to perform check in three steps. First, create a file which lists all device names (SEP+MAC, ATA+MAC) which you want to monitor. Second, use this file as input for the checking of the CCM. The result of this check is then stored in a temporary file. Third, you search through the temporary file by seperate nagios checks. Therefore, you have only one check which interogates with the CCM, and you may create as many nagios checks you want which just searches the results in the temp file.
1) vi /opt/plugins/custom/check_snmp_cisco_ccm.sh.phones.monitored
2) check_snmp_cisco_ccm.sh -H ccm1 -H ccm2 -H ccm3 -V 2c -C public -M deviceliststatus -L /opt/plugins/custom/check_snmp_cisco_ccm.sh.phones.monitored
Result code: OK
OK 37 of 37 found REGISTERED;
3a) check_snmp_cisco_ccm.sh -H dummy -V 2c -C dummy -M filterdeviceliststatus -f "SEPDCCEC1F0707B_SEP88908D738D98_SEP1CE85DC9AD90_SEP3C5EC30C0A95_SEP88908D738D42"
3b) check_snmp_cisco_ccm.sh -H dummy -V 2c -C dummy -M filterdeviceliststatus -f "ATA7C95F322B4A7_ATA95F322B4A701_ATAE8EDF3AA18A6_ATAEDF3AA18A601_ATAE8EDF3AA18E5"
3c) etc.
Reviews (0)
Be the first to review this listing!