zabbix_export: version: '5.4' date: '2021-11-21T21:25:27Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: f80d95a9622e47cd95e6c9e793b77616 template: 'SNMP APC PDU AP79XX' name: 'SNMP APC PDU AP79XX' description: | ## Overview The template is a reworked a version of APC PDU New SNMP Template to suit the needs of our AP7953. Contains sane triggers, load status, graphs, etc. The template monitors both load banks, status of the alarms, and changes in the port status (on/off) ## Author kos groups: - name: Templates items: - uuid: a2ce041aabb649108c8d0ca839e9e5e1 name: rPDUIdentFirmwareRev.0 type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.1.3.0 key: rPDUIdentFirmwareRev.0 delay: '3600' trends: '0' value_type: CHAR - uuid: 9a9101e5ca8f4e31b922f0e5d0b6f592 name: rPDUIdentModelNumber.0 type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.1.5.0 key: rPDUIdentModelNumber.0 delay: '86400' trends: '0' value_type: CHAR - uuid: 0065162865a54433828c9142036ced65 name: rPDUIdentName.0 type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.1.1.0 key: rPDUIdentName.0 delay: '86400' trends: '0' value_type: CHAR - uuid: 048fa4b1ef9945a2b0048986763f38c0 name: rPDUIdentSerialNumber.0 type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.1.6.0 key: rPDUIdentSerialNumber.0 delay: '86400' trends: '0' value_type: CHAR - uuid: aeaf2e21cf1c4a9782919798df6905c5 name: 'Load Bank Total' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1 key: rPDULoadStatusLoad.1 delay: '30' triggers: - uuid: 41401bffd70f4c03a176aa13c5439051 expression: 'change(/SNMP APC PDU AP79XX/rPDULoadStatusLoad.1)>10' name: 'APC PDU Total Load Change' priority: INFO - uuid: c7c9c02e052f45a0ae118ace1f496aad name: 'Load Bank B1' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.2 key: rPDULoadStatusLoad.2 delay: '30' - uuid: 8933e427a40b415cb848f410b0cd9f8f name: 'Load Bank B2' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.3 key: rPDULoadStatusLoad.3 delay: '30' - uuid: 580cd7c25a4d49e882c8e64b168a5a1a name: 'Load State Status Total' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.3.1 key: rPDULoadStatusLoadState.1 delay: '30' valuemap: name: 'APC Status Load State' - uuid: 68a9b2f932714605bf014514fbaa78e1 name: 'Load State Status Bank B1' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.3.2 key: rPDULoadStatusLoadState.2 delay: '30' valuemap: name: 'APC Status Load State' - uuid: 4e371337183e4ac49ce4f2a38fb763e6 name: 'Load State Status Bank B2' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.3.3 key: rPDULoadStatusLoadState.3 delay: '30' valuemap: name: 'APC Status Load State' discovery_rules: - uuid: 14f021a42f394569913111b725dd35bf name: Outlets type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.318.1.1.12.3.3.1.1.1]' key: rPDUOutletConfigIndex delay: '30' item_prototypes: - uuid: c3d114de027a48e29976efedf69b9cbf name: 'Outlet $1 Name' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.318.1.1.12.3.4.1.1.2.{#SNMPINDEX}' key: 'rPDUOutletConfigOutletName[{#SNMPINDEX}]' delay: '3600' trends: '0' value_type: CHAR tags: - tag: Application value: Outlets - uuid: 814b68a41b024ccab81bf394158892e3 name: 'Outlet $1 State Status' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.318.1.1.12.3.5.1.1.4.{#SNMPINDEX}' key: 'rPDUOutletStatusOutletState[{#SNMPINDEX}]' delay: '30' valuemap: name: 'APC Outlet State' tags: - tag: Application value: Outlets trigger_prototypes: - uuid: 67e70e87589d443ba0a62e96534ddb16 expression: '(last(/SNMP APC PDU AP79XX/rPDUOutletStatusOutletState[{#SNMPINDEX}],#1)<>last(/SNMP APC PDU AP79XX/rPDUOutletStatusOutletState[{#SNMPINDEX}],#2))=1' name: 'Outlet {#SNMPVALUE} State Change' priority: INFO macros: - macro: '{$SNMP_COMMUNITY}' valuemaps: - uuid: 36f165682bc74cca97e92a1ba26d2118 name: 'APC Outlet State' mappings: - value: '1' newvalue: 'on' - value: '2' newvalue: 'off' - uuid: e4279c38a238411fb98746a6022b1775 name: 'APC Status Load State' mappings: - value: '1' newvalue: normal - value: '2' newvalue: lowLoad - value: '3' newvalue: nearOverload - value: '4' newvalue: overload triggers: - uuid: 506b24a0d3fc40b6b2ec755e15180263 expression: 'last(/SNMP APC PDU AP79XX/rPDULoadStatusLoadState.1)<>1 or last(/SNMP APC PDU AP79XX/rPDULoadStatusLoadState.2)<>1 or last(/SNMP APC PDU AP79XX/rPDULoadStatusLoadState.3)<>1' name: 'APC PDU Status Load State' priority: HIGH graphs: - uuid: 90a034b0e2ee49aabdd4bb46da75bd30 name: 'APC PDU Current Usage' show_work_period: 'NO' show_triggers: 'NO' graph_items: - drawtype: BOLD_LINE color: F63100 item: host: 'SNMP APC PDU AP79XX' key: rPDULoadStatusLoad.1 - sortorder: '1' color: 1A7C11 item: host: 'SNMP APC PDU AP79XX' key: rPDULoadStatusLoad.2 - sortorder: '2' color: 2774A4 item: host: 'SNMP APC PDU AP79XX' key: rPDULoadStatusLoad.3