zabbix_export: version: '6.0' date: '2021-11-21T21:50:54Z' groups: - uuid: 97ca928589ee4a3f9ac69906232316c4 name: Templates/VoIP templates: - uuid: 7417d44f41ae4468a99a952a5bfd7eae template: 'Cisco AXL MGCP monitoring' name: 'Cisco AXL MGCP monitoring' description: | ## 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 groups: - name: Templates/VoIP items: - uuid: e672f1af060e45e891d72e9ec58e76ad name: 'Port S0_SU1_DS1-0' type: DEPENDENT key: apiaxlS0_SU1_DS1-0 delay: '0' history: 1w trends: 90d preprocessing: - type: REGEX parameters: - '(.*S0_SU1_DS1-0.*)(.*CallsActive\n)(\d+)(.*)' - \3 master_item: key: mgcpxml tags: - tag: Application value: 'CUCM MGCP Resouce monitoring' - uuid: 7d9e634c6aa24aa192b41973f7a99034 name: 'Port S0_SU1_DS1-1' type: DEPENDENT key: apiaxlS0_SU1_DS1-1 delay: '0' history: 1w trends: 90d preprocessing: - type: REGEX parameters: - '(.*S0_SU1_DS1-1.*)(.*CallsActive\n)(\d+)(.*)' - \3 master_item: key: mgcpxml tags: - tag: Application value: 'CUCM MGCP Resouce monitoring' - uuid: 2a376454106a4672a257093e1597d324 name: 'Port S0_SU1_DS1-2' type: DEPENDENT key: apiaxlS0_SU1_DS1-2 delay: '0' history: 1w trends: 90d preprocessing: - type: REGEX parameters: - '(.*S0_SU1_DS1-2.*)(.*CallsActive\n)(\d+)(.*)' - \3 master_item: key: mgcpxml tags: - tag: Application value: 'CUCM MGCP Resouce monitoring' - uuid: 1a1f995df182428fb2f840039e985ccf name: 'Port S0_SU1_DS1-3' type: DEPENDENT key: apiaxlS0_SU1_DS1-3 delay: '0' history: 1w trends: 90d preprocessing: - type: REGEX parameters: - '(.*S0_SU1_DS1-3.*)(.*CallsActive\n)(\d+)(.*)' - \3 master_item: key: mgcpxml tags: - tag: Application value: 'CUCM MGCP Resouce monitoring' - uuid: 27412ce8875f46af8a303ac7f85bde23 name: 'Cisco MGCP PRI Device XML' type: HTTP_AGENT key: mgcpxml delay: 30s history: '0' trends: '0' value_type: TEXT authtype: BASIC username: '{$ZABBIX_APIUSER_UC}' password: '{$ZABBIX_APIPASS_UC}' preprocessing: - type: JAVASCRIPT parameters: - | value = String(value) value = value.replace(/>\n<"); return value - type: XMLPATH parameters: - //item url: 'https://{HOST.IP}:8443/perfmonservice/services/PerfmonPort?wsdl' posts: | {HOST.DNS} Cisco MGCP PRI Device post_type: XML headers: - name: SOAPAction value: '"http://schemas.cisco.com/ast/soap/action/#PerfmonPort#PerfmonOpenSession"' request_method: POST tags: - tag: Application value: 'CUCM MGCP Resouce monitoring' graphs: - uuid: 95fbece31d894c4d86e90dedf7b4c4c9 name: 'E1 usage' graph_items: - color: 199C0D calc_fnc: MAX item: host: 'Cisco AXL MGCP monitoring' key: apiaxlS0_SU1_DS1-0 - sortorder: '1' color: F63100 calc_fnc: MAX item: host: 'Cisco AXL MGCP monitoring' key: apiaxlS0_SU1_DS1-1 - sortorder: '2' color: 2774A4 calc_fnc: MAX item: host: 'Cisco AXL MGCP monitoring' key: apiaxlS0_SU1_DS1-2 - sortorder: '3' color: F7941D calc_fnc: MAX item: host: 'Cisco AXL MGCP monitoring' key: apiaxlS0_SU1_DS1-3