5.02021-11-21T21:50:52ZTemplates/VoIPCisco AXL MGCP monitoringCisco AXL MGCP monitoring## Overview
Information from PerfMon API for MGCP E1 ports.
needs application user with permission access to PerfMon
macro for username: {$ZABBIX\_APIUSER\_UC}
macro for password: {$ZABBIX\_APIPASS\_UC}
## Author
Andrey
Templates/VoIPCUCM MGCP Resouce monitoring- Port S0_SU1_DS1-0DEPENDENTapiaxlS0_SU1_DS1-001w90dCUCM MGCP Resouce monitoringREGEX(.*S0_SU1_DS1-0.*)(.*CallsActive</Name>\n<Value.*>)(\d+)(</Value>.*)
\3mgcpxml
- Port S0_SU1_DS1-1DEPENDENTapiaxlS0_SU1_DS1-101w90dCUCM MGCP Resouce monitoringREGEX(.*S0_SU1_DS1-1.*)(.*CallsActive</Name>\n<Value.*>)(\d+)(</Value>.*)
\3mgcpxml
- Port S0_SU1_DS1-2DEPENDENTapiaxlS0_SU1_DS1-201w90dCUCM MGCP Resouce monitoringREGEX(.*S0_SU1_DS1-2.*)(.*CallsActive</Name>\n<Value.*>)(\d+)(</Value>.*)
\3mgcpxml
- Port S0_SU1_DS1-3DEPENDENTapiaxlS0_SU1_DS1-301w90dCUCM MGCP Resouce monitoringREGEX(.*S0_SU1_DS1-3.*)(.*CallsActive</Name>\n<Value.*>)(\d+)(</Value>.*)
\3mgcpxml
- Cisco MGCP PRI Device XMLHTTP_AGENTmgcpxml30s00TEXTBASIC{$ZABBIX_APIUSER_UC}{$ZABBIX_APIPASS_UC}CUCM MGCP Resouce monitoringJAVASCRIPTvalue = String(value)
value = value.replace(/></g,">\n<");
return valueXMLPATH//itemhttps://{HOST.IP}:8443/perfmonservice/services/PerfmonPort?wsdl<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
<soapenv:Header/>
<soapenv:Body>
<perfmonCollectCounterData>
<host>{HOST.DNS}</host>
<Object>Cisco MGCP PRI Device</Object>
</perfmonCollectCounterData>
</soapenv:Body>
</soapenv:Envelope>XMLSOAPAction"http://schemas.cisco.com/ast/soap/action/#PerfmonPort#PerfmonOpenSession"POST
E1 usage199C0DMAX- Cisco AXL MGCP monitoringapiaxlS0_SU1_DS1-0
1F63100MAX- Cisco AXL MGCP monitoringapiaxlS0_SU1_DS1-1
22774A4MAX- Cisco AXL MGCP monitoringapiaxlS0_SU1_DS1-2
3F7941DMAX- Cisco AXL MGCP monitoringapiaxlS0_SU1_DS1-3