Cisco

Check Call Manager (CCM) - SNMP v1, v2c, v3

This script checks Cisco Call Manager (tested on CCM-v4.1).

Modules included:

Mode 1 - CCMInfo

5 system checks (CCM type, version, status, IP address, cluster ID)

Mode 2 - devicesregistered

  • check device per type (phones, gateways, media, cti, voicemail)
  • return warning or critical if too much unregistered or rejected devices

    check_cisco_ccm.sh -H hostname -V version -M ccminfo|devicesregistered [-w|-c|-t|-C|-l|-u|-a|-d|-h]

Parameters

  • -H Hostname (IP adresse or DNS name)
  • -V Version (1|2c|3)
  • -M Mode (ccminfo|devicesregistered)

Optional

  • -w Warning_Level Use on devicesregistered mode
  • -c Critical_Level Use on devicesregistered mode
  • -t Type of device to check (1=phones | 2=gateways | 3=media | 4=cti | 5=voicemail) Use on devicesregistered mode
  • -C Community (name) Use on Version 1|2
  • -l Login (NoAuthNoPriv | AuthNoPriv | AuthPriv) Use on Version 3
  • -u Username Use on Version 3
  • -a Password Use on Version 3
  • -d Debug mode
  • -h Help (print command usage, and quit)

Sample commands:

# ./check\_snmp\_cisco\_ccm.sh -H 192.168.0.1 -V 1 -M ccminfo -C Public
OK  - CCM amfcc1one (amfcc1one PUBLISHER version 4.1(3.22844)) is up - Ip address = 192.168.0.1 - Cluster ID = StandAloneCluster

# ./check\_snmp\_cisco\_ccm.sh -H 192.168.0.1 -V 1 -M devicesregistered -C Public -t 1 -w 10 -c 25
Warning  - phones status : 1519 registered ; 6 unregistered ; 6 rejected  | registered=1519 unregistered=6 rejected=6

# ./check\_snmp\_cisco\_ccm.sh -h
Display help

# ./check\_snmp\_cisco\_ccm.sh xxxxxx -d
Enable debug mode