zabbix_export: version: '6.0' date: '2021-11-21T21:39:10Z' groups: - uuid: 76cf351acd5b4d55bf685298aae0bdf5 name: ZBX-CISCO-TEMPLATES templates: - uuid: 36a6e68ac87a458d9a7c609e8363dd10 template: ZBX-CISCO-ASR9001-OPTICAL-MONITORING name: ZBX-CISCO-ASR9001-OPTICAL-MONITORING description: | ## Overview README: ![ASR9k Optical Monitoring](media/com_mtree/images/listings/m/515.png) ## Author Bruno Teixeira groups: - name: ZBX-CISCO-TEMPLATES discovery_rules: - uuid: d92a71f2ccad4be295cbb802e0bc4be6 name: 'Interface Sensor' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},ENTITY-MIB::entPhysicalName]' key: entPhysicalName delay: '300' filter: conditions: - macro: '{#SNMPVALUE}' value: '@ASR9k Optical Levels' formulaid: A lifetime: 7d description: | ENTITY-MIB::entPhysicalDescr (.1.3.6.1.2.1.47.1.1.1.1.2) ENTITY-MIB::entPhysicalName (.1.3.6.1.2.1.47.1.1.1.1.7) A textual description of physical entity. This object should contain a string that identifies the manufacturer's name for the physical entity, and should be set to a distinct value for each version or model of the physical entity. item_prototypes: - uuid: e6dd4b267b5a4572891e0c8c1b11ce24 name: 'Thresholds::$1 | Warning High' type: SNMP_AGENT snmp_oid: 'entSensorThresholdValue.{#SNMPINDEX}.2' key: 'entSensorThresholdRxTxValueHighWarn[{#SNMPVALUE}]' delay: '300' history: 7d value_type: FLOAT units: mW preprocessing: - type: MULTIPLIER parameters: - '0.001' tags: - tag: Application value: 'IOS-XR Optical Monitoring' - uuid: 29a8e52a36644125b2e9ac0136d1a277 name: 'Thresholds::$1 | Alarm High' type: SNMP_AGENT snmp_oid: 'entSensorThresholdValue.{#SNMPINDEX}.4' key: 'entSensorThresholdRxTxValueHigh[{#SNMPVALUE}]' delay: '300' history: 7d value_type: FLOAT units: mW description: | This variable indicates the value of the threshold. To correctly display or interpret this variable's value, you must also know entSensorType, entSensorScale, and entSensorPrecision. However, you can directly compare entSensorValue with the threshold values given in entSensorThresholdTable without any semantic knowledge. preprocessing: - type: MULTIPLIER parameters: - '0.001' tags: - tag: Application value: 'IOS-XR Optical Monitoring' - uuid: e17d6e0ee0d04fa49bf6b288a3446b1c name: 'Thresholds::$1 | Warning Low' type: SNMP_AGENT snmp_oid: 'entSensorThresholdValue.{#SNMPINDEX}.1' key: 'entSensorThresholdRxTxValueLowWarn[{#SNMPVALUE}]' delay: '300' history: 7d value_type: FLOAT units: mW preprocessing: - type: MULTIPLIER parameters: - '0.001' tags: - tag: Application value: 'IOS-XR Optical Monitoring' - uuid: fc189bafa1a64ba99e40289308675274 name: 'Thresholds::$1 | Alarm Low' type: SNMP_AGENT snmp_oid: 'entSensorThresholdValue.{#SNMPINDEX}.3' key: 'entSensorThresholdRxTxValueLow[{#SNMPVALUE}]' delay: '300' history: 7d value_type: FLOAT units: mW preprocessing: - type: MULTIPLIER parameters: - '0.001' tags: - tag: Application value: 'IOS-XR Optical Monitoring' - uuid: 50de4c4fb87046369a33fa14d156debe name: $1 type: SNMP_AGENT snmp_oid: 'CISCO-ENTITY-SENSOR-MIB::entSensorValue.{#SNMPINDEX}' key: 'entSensorValue[{#SNMPVALUE}]' delay: '300' history: 7d value_type: FLOAT units: mW preprocessing: - type: MULTIPLIER parameters: - '0.001' tags: - tag: Application value: 'IOS-XR Optical Monitoring' trigger_prototypes: - uuid: 116c199a52cb47cdb80a212ecb7f6d59 expression: 'last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorValue[{#SNMPVALUE}])>last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorThresholdRxTxValueHigh[{#SNMPVALUE}])' name: '[10.001] High signal ALARM for {#SNMPVALUE}' priority: HIGH - uuid: 63c55e91b0f4493980fec59148a906e1 expression: 'last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorThresholdRxTxValueHigh[{#SNMPVALUE}])>last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorValue[{#SNMPVALUE}]) and last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorValue[{#SNMPVALUE}])>last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorThresholdRxTxValueHighWarn[{#SNMPVALUE}])' name: '[10.001] High signal WARNING for {#SNMPVALUE}' priority: WARNING - uuid: e0cdaedd68c243e5a8808abb27dfc889 expression: 'last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorValue[{#SNMPVALUE}])last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorValue[{#SNMPVALUE}]) and last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorValue[{#SNMPVALUE}])>last(/ZBX-CISCO-ASR9001-OPTICAL-MONITORING/entSensorThresholdRxTxValueLow[{#SNMPVALUE}])' name: '[10.001] Low signal WARNING for {#SNMPVALUE}' priority: WARNING graph_prototypes: - uuid: f4e49645bb35420f85ceb2bcd0f0060b name: '{#SNMPVALUE}' graph_items: - drawtype: BOLD_LINE color: 1A7C11 item: host: ZBX-CISCO-ASR9001-OPTICAL-MONITORING key: 'entSensorValue[{#SNMPVALUE}]' - sortorder: '1' drawtype: BOLD_LINE color: F63100 item: host: ZBX-CISCO-ASR9001-OPTICAL-MONITORING key: 'entSensorThresholdRxTxValueHigh[{#SNMPVALUE}]' - sortorder: '2' drawtype: BOLD_LINE color: F63100 item: host: ZBX-CISCO-ASR9001-OPTICAL-MONITORING key: 'entSensorThresholdRxTxValueLow[{#SNMPVALUE}]' - sortorder: '3' color: FF8000 item: host: ZBX-CISCO-ASR9001-OPTICAL-MONITORING key: 'entSensorThresholdRxTxValueHighWarn[{#SNMPVALUE}]' - sortorder: '4' color: FF8000 item: host: ZBX-CISCO-ASR9001-OPTICAL-MONITORING key: 'entSensorThresholdRxTxValueLowWarn[{#SNMPVALUE}]'