Ad Widget

Collapse

How do i monitor Cisco Call Manager (CCM 6.1)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • THUHV
    Junior Member
    • Dec 2009
    • 28

    #1

    How do i monitor Cisco Call Manager (CCM 6.1)

    hi again everybody

    today, i want to monitor my cisco call manager 6.1 (CCM), i just found a template in zabix forums, but i dont know how to configure on my CCM, everybody who know how to configure it, plz help me

    Thanks!
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    Check that template, you may find that it is for windows as it uses WindowsPerfdata.

    Here's a link on 'How to Configure snmp in Cisco CallManager'. Follow that then monitor via snmp. https://supportforums.cisco.com/docs/DOC-2937

    Have fun.

    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    • danrog
      Senior Member
      • Sep 2009
      • 164

      #3
      All Cisco supports for the more detailed monitoring of CCM6/7/8 is their SOAP API (AXL). Some things work via SNMP but basic stuff and if you have all MGCP trunks, then AXL is your only method.

      I am still working on my full PHP script for this (basically it can monitor everything RTMT can) but here is a quick and dirty one for you that should get you started.

      Code:
      <?php
          $hostname = 'myccmhost with devices registered';
          $collection = "Cisco MGCP PRI Device";
          $regex = "/$argv[2].*$argv[3]/";
          $client = new SoapClient("https://ccmpubip:8443/perfmonservice/services/PerfmonPort?wsdl",
                      array('trace'=>true,
                            'exceptions'=>true,
                            'location'=>"https://ccmpubip:8443/perfmonservice/services/PerfmonPort",
                            'login'=>'account with service monitoring rights',
                            'password'=>'password',
                             ));
          $response = $client->PerfmonCollectCounterData($hostname, $collection);
      
          foreach ($response as $r) {
              if (preg_match($regex, $r->Name)) {
                      preg_match('/\((.*?)\:.*\)/', $r->Name, $host);
                      preg_match('/\(.*\:\:(.*?)\)/', $r->Name, $device);
                      $dev = preg_replace('/-/', '_', $device[1]);
                      //print "/home/zabbix/sbin/zabbix_sender -z 127.0.0.1 -p 10051 -s ".$host[1]." -k ".$dev.".".$argv[3]." -o ".$r->Value;         
                      exec("/home/zabbix/sbin/zabbix_sender -z 127.0.0.1 -p 10051 -s ".$host[1]." -k ".$dev.".".$argv[3]." -o ".$r->Value, $result);          
              }
        }
      ?>

      Comment

      • zabbixflic
        Member
        • Jan 2012
        • 39

        #4
        Hi danrog,

        it would be wonderful to get this script, cause my only reason to
        setup Zabbix is to monitor and query Cucm (from 6 to 8 version).

        Could you help me in this hard work ?

        Many thanks in advance

        Federico

        p.s.: I sent you also a PM cause I didn't know if you receive notification
        from post, be patience

        Comment

        • danrog
          Senior Member
          • Sep 2009
          • 164

          #5
          It's been a long time coming, but I've put them in this post:

          Comment

          Working...