zabbix_export: version: '5.4' date: '2021-11-21T21:50:13Z' groups: - uuid: 25fa5e08493744599a03308cfb6ae65e name: 'VOIP ALL' templates: - uuid: 94607ddc99ff46eea99dec7d40483e4b template: 'Cisco AXL Feature Service Status' name: 'Cisco AXL Feature Service Status' description: | ## Overview CUCM Feature Service Status request from AXL Запрос информации о статусе сервисов CUCM через AXL. Необходим Application User с правами на чтение AXL API Application user name: {$ZABBIX\_APIUSER\_UC} Applicatuin user passwd: {$ZABBIX\_APIUSER\_UC} ## Author Andrey groups: - name: 'VOIP ALL' items: - uuid: a82ecf07c2674145adb83909c24645c4 name: 'Cisco CallManager' type: DEPENDENT key: axlCUCMserviceCallManager delay: '0' history: 7d trends: '0' valuemap: name: 'Service state' preprocessing: - type: REGEX parameters: - '(.*CallManager\n.*)' - \2 master_item: key: axl_ServiceStatusXML tags: - tag: Application value: 'AXL Feature Service Status' - uuid: e963d9cb047b4f74b151655e2c033683 name: 'Service A Cisco DB' type: DEPENDENT key: axlCUCMserviceCiscoDB delay: '0' history: 7d trends: '0' valuemap: name: 'Service state' preprocessing: - type: REGEX parameters: - '(.*Cisco\sDB\n.*)' - \2 master_item: key: axl_ServiceStatusXML tags: - tag: Application value: 'AXL Feature Service Status' - uuid: 7f3e340f96e14f6d962b41d97339f722 name: 'Cisco CTIManager' type: DEPENDENT key: axlCUCMserviceCTIManager delay: '0' history: 7d trends: '0' valuemap: name: 'Service state' preprocessing: - type: REGEX parameters: - '(.*CTIManager\n.*)' - \2 master_item: key: axl_ServiceStatusXML tags: - tag: Application value: 'AXL Feature Service Status' - uuid: df5976e179fe48efaf6d9120680d85ab name: 'Cisco Database Layer Monitor' type: DEPENDENT key: axlCUCMserviceDatabaseLayerMonitor delay: '0' history: 7d trends: '0' valuemap: name: 'Service state' preprocessing: - type: REGEX parameters: - '(.*Layer\sMonitor\n.*)' - \2 master_item: key: axl_ServiceStatusXML tags: - tag: Application value: 'AXL Feature Service Status' - uuid: 1e7a1032342247428c6a480194e61df4 name: 'Cisco DHCP Monitor Service' type: DEPENDENT key: axlCUCMserviceDHCP delay: '0' history: 7d trends: '0' status: DISABLED valuemap: name: 'Service state' preprocessing: - type: REGEX parameters: - '(.*Monitor\sService\n.*)' - \2 master_item: key: axl_ServiceStatusXML tags: - tag: Application value: 'AXL Feature Service Status' - uuid: a45def6ab5d648ce856b9cbf88b1338e name: 'Cisco Push Notification Service' type: DEPENDENT key: axlCUCMservicePUSH delay: '0' history: 7d trends: '0' valuemap: name: 'Service state' preprocessing: - type: REGEX parameters: - '(.*Notification\sService\n.*)' - \2 master_item: key: axl_ServiceStatusXML tags: - tag: Application value: 'AXL Feature Service Status' - uuid: 707d4ebec95d4ad58821c960c707d3ca name: 'A Cisco DB Replicator' type: DEPENDENT key: axlCUCMserviceReplicator delay: '0' history: 7d trends: '0' valuemap: name: 'Service state' preprocessing: - type: REGEX parameters: - '(.*Replicator\n.*)' - \2 master_item: key: axl_ServiceStatusXML tags: - tag: Application value: 'AXL Feature Service Status' - uuid: 9c2f73f0a49a4005b14a684b66bbfdef name: 'Cisco IP Voice Media Streaming App' type: DEPENDENT key: axlCUCMserviceStreamingApp delay: '0' history: 7d trends: '0' valuemap: name: 'Service state' preprocessing: - type: REGEX parameters: - '(.*Streaming\sApp\n.*)' - \2 master_item: key: axl_ServiceStatusXML tags: - tag: Application value: 'AXL Feature Service Status' - uuid: 35540b1a4d4b427eaed96f9f3a7760bb name: 'Cisco Tftp' type: DEPENDENT key: axlCUCMserviceTftp delay: '0' history: 7d trends: '0' valuemap: name: 'Service state' preprocessing: - type: REGEX parameters: - '(.*Tftp\n.*)' - \2 master_item: key: axl_ServiceStatusXML tags: - tag: Application value: 'AXL Feature Service Status' - uuid: 7a5afa0b6af24f26a86ad905d0576ecb name: 'Service Status getXML' type: HTTP_AGENT key: axl_ServiceStatusXML 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<"); value = value.replace(/Started/g,"1"); return value - type: XMLPATH parameters: - //item url: 'https://{HOST.IP}:8443/controlcenterservice/services/ControlCenterServicesPort' posts: | post_type: XML headers: - name: SOAPAction value: '"http://schemas.cisco.com/ast/soap/action/#ControlCenterServices#soapGetServiceList"' - name: Content-Type value: 'text/xml; charset=utf-8' request_method: POST tags: - tag: Application value: 'AXL Feature Service Status' valuemaps: - uuid: 7af2399182b04955a3700ad4d0c2acd3 name: 'Service state' mappings: - value: '0' newvalue: Down - value: '1' newvalue: Up graphs: - uuid: 5877c612a3744ca387104e86b228300e name: 'Service Status' graph_items: - color: 199C0D calc_fnc: MAX item: host: 'Cisco AXL Feature Service Status' key: axlCUCMserviceReplicator - sortorder: '1' color: F63100 calc_fnc: MAX item: host: 'Cisco AXL Feature Service Status' key: axlCUCMserviceCallManager - sortorder: '2' color: 2774A4 calc_fnc: MAX item: host: 'Cisco AXL Feature Service Status' key: axlCUCMserviceCTIManager - sortorder: '3' color: F7941D calc_fnc: MAX item: host: 'Cisco AXL Feature Service Status' key: axlCUCMserviceDatabaseLayerMonitor - sortorder: '4' color: 6C59DC calc_fnc: MAX item: host: 'Cisco AXL Feature Service Status' key: axlCUCMserviceStreamingApp - sortorder: '5' color: C7A72D calc_fnc: MAX item: host: 'Cisco AXL Feature Service Status' key: axlCUCMservicePUSH - sortorder: '6' color: BA2A5D calc_fnc: MAX item: host: 'Cisco AXL Feature Service Status' key: axlCUCMserviceTftp - sortorder: '7' color: F230E0 calc_fnc: MAX item: host: 'Cisco AXL Feature Service Status' key: axlCUCMserviceCiscoDB