5.02021-11-21T22:04:50ZTemplates_CreatedCisco ASR 9K Health SNMPCisco ASR 9K Health SNMP## Description
Template Cisco ASR 9k Health -CPU -Memory -Power Supply -Temperature ( RSP e LC ) -FAN ( FAN and FANTray ) -Power Consumption By: Flavio Gomes Figueira Camacho Junior Require: Firmware / Software .IOS XR 5.3.1 .IOS XR 5.3.4 ValueMap .CISCO-ENTITY-FRU-CONTROL-MIB::PowerOperType .ENTITY-SENSORS-MIB::EntitySensorStatus .CISCO-ENTITY-FRU-CONTROL-MIB::CefcFanTrayStatusEntry .CISCO-ENTITY-SENSOR-MIB::SensorStatus Base: CISCO-MEMORY-POOL-MIB.mib http://www.circitor.fr/Mibs/Html/C/CISCO-MEMORY-POOL-MIB.php CISCO-PROCESS-MIB.mib http://www.circitor.fr/Mibs/Html/C/CISCO-PROCESS-MIB.php ENTITY-MIB http://www.circitor.fr/Mibs/Html/E/ENTITY-MIB.php CISCO-ENTITY-FRU-CONTROL-MIB.mib https://circitor.fr/Mibs/Html/C/CISCO-ENTITY-FRU-CONTROL-MIB.php CISCO-ENTITY-SENSOR-MIB.mib http://www.circitor.fr/Mibs/Html/C/CISCO-ENTITY-SENSOR-MIB.php https://share.zabbix.com/network_devices/cisco/template-cisco-asr-9k External Scripts and Value Mapping on my Github: https://github.com/flaviojunior1995/Zabbix-Templates
## Overview
Template Cisco ASR 9k Health
-CPU
-Memory
-Power Supply
-Temperature ( RSP e LC )
-FAN ( FAN and FANTray )
-Power Consumption
By: Flavio Gomes Figueira Camacho Junior
Require:
Firmware / Software
.IOS XR 5.3.1
.IOS XR 5.3.4
ValueMap
.CISCO-ENTITY-FRU-CONTROL-MIB::PowerOperType
.CISCO-ENTITY-FRU-CONTROL-MIB::CefcFanTrayStatusEntry
.CISCO-ENTITY-SENSOR-MIB::SensorStatus
.ENTITY-SENSORS-MIB::EntitySensorStatus
Base:
CISCO-MEMORY-POOL-MIB.mib
http://www.circitor.fr/Mibs/Html/C/CISCO-MEMORY-POOL-MIB.php
CISCO-PROCESS-MIB.mib
http://www.circitor.fr/Mibs/Html/C/CISCO-PROCESS-MIB.php
ENTITY-MIB
http://www.circitor.fr/Mibs/Html/E/ENTITY-MIB.php
CISCO-ENTITY-FRU-CONTROL-MIB.mib
https://circitor.fr/Mibs/Html/C/CISCO-ENTITY-FRU-CONTROL-MIB.php
CISCO-ENTITY-SENSOR-MIB.mib
http://www.circitor.fr/Mibs/Html/C/CISCO-ENTITY-SENSOR-MIB.php
https://share.zabbix.com/network\_devices/cisco/template-cisco-asr-9k
External Scripts and Value Mapping on my Github:
https://github.com/flaviojunior1995/Zabbix-Templates
## Author
Flavio Camacho Junior
Templates_CreatedCPUFANMemoryPower ConsumptionPower CurrentPower SupplyPower VoltageTemperature LCTemperature RSP- Power ConsumptionCALCULATEDpowerConsumptionFLOATW( last(entPhysicalContainedInCurrent["current 0/PS0/M0/SP"]) * last(entPhysicalContainedInVoltage["voltage 0/PS0/M0/SP"]) ) +
( last(entPhysicalContainedInCurrent["current 0/PS0/M1/SP"]) * last(entPhysicalContainedInVoltage["voltage 0/PS0/M1/SP"]) ) +
( last(entPhysicalContainedInCurrent["current 0/PS0/M2/SP"]) * last(entPhysicalContainedInVoltage["voltage 0/PS0/M2/SP"]) ) +
( last(entPhysicalContainedInCurrent["current 0/PS1/M0/SP"]) * last(entPhysicalContainedInVoltage["voltage 0/PS1/M0/SP"]) ) +
( last(entPhysicalContainedInCurrent["current 0/PS1/M1/SP"]) * last(entPhysicalContainedInVoltage["voltage 0/PS1/M1/SP"]) ) +
( last(entPhysicalContainedInCurrent["current 0/PS1/M2/SP"]) * last(entPhysicalContainedInVoltage["voltage 0/PS1/M2/SP"]) )Power Consumption
Memory Pool DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.4.1.9.9.48.1.1.1.2]ciscoMemoryPoolName["Memory"]1h{#SNMPVALUE}^(image|reserved)NOT_MATCHES_REGEXACISCO-MEMORY-POOL-MIB::ciscoMemoryPoolName
A textual name assigned to the memory pool.Free memory on Memory Pool "$1"SNMP_AGENT1.3.6.1.4.1.9.9.48.1.1.1.6.{#SNMPINDEX}ciscoMemoryPoolFree["{#SNMPVALUE}"]5mBCISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree
Indicates the number of bytes from the memory pool that are currently unused on the managed device.MemoryMemory {#SNMPVALUE}Total Memory Pool "$1"CALCULATEDciscoMemoryPoolTotal["{#SNMPVALUE}"]1h7d180dBlast(ciscoMemoryPoolFree["{#SNMPVALUE}"]) + last(ciscoMemoryPoolUsed["{#SNMPVALUE}"])MemoryMemory {#SNMPVALUE}Used memory on Memory Pool "$1"SNMP_AGENT1.3.6.1.4.1.9.9.48.1.1.1.5.{#SNMPINDEX}ciscoMemoryPoolUsed["{#SNMPVALUE}"]5mBCISCO-MEMORY-POOL-MIB::ciscoMemoryPoolUsed
Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.MemoryMemory {#SNMPVALUE}Utilization on Memory Pool "$1"SNMP_AGENT1.3.6.1.4.1.9.9.48.1.2.1.2.{#SNMPINDEX}ciscoMemoryPoolUtilization5Min["{#SNMPVALUE}"]5m%CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolUtilization5Min
This is the memory pool utilization for 5 minutes.MemoryMemory {#SNMPVALUE}{last()} > {$MEMORY_HIGH_WARNING}High utilization of Memory Pool "{#SNMPVALUE}"AVERAGE( {Cisco ASR 9K Health SNMP:ciscoMemoryPoolUsed["{#SNMPVALUE}"].last()} * 100 ) / {Cisco ASR 9K Health SNMP:ciscoMemoryPoolTotal["{#SNMPVALUE}"].last()} > {$MEMORY_HIGH_ALARM}High memory utilizarion alarm on Pool "{#SNMPVALUE}"HIGHMemory Utilization Pool "{#SNMPVALUE}"GRADIENT_LINE00FF00- Cisco ASR 9K Health SNMPciscoMemoryPoolUtilization5Min["{#SNMPVALUE}"]
Memory {#SNMPVALUE}BOLD_LINE00FF00- Cisco ASR 9K Health SNMPciscoMemoryPoolTotal["{#SNMPVALUE}"]
1GRADIENT_LINEFF0000- Cisco ASR 9K Health SNMPciscoMemoryPoolUsed["{#SNMPVALUE}"]
CPU DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.4.1.9.9.109.1.1.1.1.2]cpmCPUTotalPhysicalIndex["CPU"]1hCISCO-PROCESS-MIB::cpmCPUTotalPhysicalIndex
The entPhysicalIndex of the physical entity for which the CPU statistics in this entry are maintained. The physical entity can be a CPU chip, a group of CPUs, a CPU card etc. The exact type of this entity is described by its entPhysicalVendorType value. If the CPU statistics in this entry correspond to more than one physical entity (or to no physical entity), or if the entPhysicalTable is not supported on the SNMP agent, the value of this object must be zero.CPU #$1 Usage 1min RevSNMP_AGENT1.3.6.1.4.1.9.9.109.1.1.1.1.7.{#SNMPINDEX}cpmCPUTotal1minRev["{#SNMPINDEX}"]%CISCO-PROCESS-MIB::cpmCPUTotal1minRev
The overall CPU busy percentage in the last 1 minute period. This object deprecates the object cpmCPUTotal1min and increases the value range to (0..100).CPU{last()}>{$CPU_HIGH_ALARM}High CPU Alarm #{#SNMPINDEX} 1min UsageHIGH{last()}>{$CPU_HIGH_WARNING}High CPU Warning #{#SNMPINDEX} 1min UsageAVERAGECPU #$1 Usage 5min RevSNMP_AGENT1.3.6.1.4.1.9.9.109.1.1.1.1.8.{#SNMPINDEX}cpmCPUTotal5minRev["{#SNMPINDEX}"]5m%CISCO-PROCESS-MIB::cpmCPUTotal5minRev
The overall CPU busy percentage in the last 5 minute period. This object deprecates the object cpmCPUTotal5min and increases the value range to (0..100).CPU{last()}>{$CPU_HIGH_ALARM}High CPU Alarm #{#SNMPINDEX} 5min UsageHIGH{last()}>{$CPU_HIGH_WARNING}High CPU Warning #{#SNMPINDEX} 5min UsageAVERAGECPU #"{#SNMPINDEX}" 1min UsageGRADIENT_LINE00FF00- Cisco ASR 9K Health SNMPcpmCPUTotal1minRev["{#SNMPINDEX}"]
CPU #"{#SNMPINDEX}" 5min UsageGRADIENT_LINE00FF00- Cisco ASR 9K Health SNMPcpmCPUTotal5minRev["{#SNMPINDEX}"]
FAN Sensor DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.47.1.1.1.1.7]entPhysicalName["FAN"]1h{#SNMPVALUE}^speedAThe textual name of the physical entity.Status of FAN Sensor "{#SNMPVALUE}"/{#SNMPINDEX}SNMP_AGENT1.3.6.1.4.1.9.9.91.1.1.1.1.5.{#SNMPINDEX}entSensorStatus["{#SNMPVALUE}",FAN,{#SNMPINDEX}]30d0CISCO-ENTITY-SENSOR-MIB::entSensorStatus
This variable indicates the present operational status of the sensor.FANENTITY-SENSORS-MIB::EntitySensorStatus{last()}=3FAN Sensor "{#SNMPVALUE}"/{#SNMPINDEX} is nonoperationalHIGH{last()}=2FAN Sensor "{#SNMPVALUE}"/{#SNMPINDEX} is unavailableAVERAGESpeed of FAN Sensor "{#SNMPVALUE}"/{#SNMPINDEX}SNMP_AGENT1.3.6.1.4.1.9.9.91.1.1.1.1.4.{#SNMPINDEX}entSensorValue["{#SNMPVALUE}",FAN,{#SNMPINDEX}]5mrpmCISCO-ENTITY-SENSOR-MIB::entSensorValue
This variable reports the most recent measurement seen by the sensor.FANFAN speed "{#SNMPVALUE}"/{#SNMPINDEX}NONO199C0D- Cisco ASR 9K Health SNMPentSensorValue["{#SNMPVALUE}",FAN,{#SNMPINDEX}]
FAN Tray Sensor DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.47.1.1.1.1.7]entPhysicalName["FAN Tray"]1h{#SNMPVALUE}^fantrayAThe textual name of the physical entity.Operational Status of "$1"SNMP_AGENT1.3.6.1.4.1.9.9.117.1.4.1.1.1.{#SNMPINDEX}cefcFanTrayOperStatus["{#SNMPVALUE}"]30d0CISCO-ENTITY-FRU-CONTROL-MIB::cefcFanTrayOperStatus
The operational state of the fan or fan tray.FANCISCO-ENTITY-FRU-CONTROL-MIB::CefcFanTrayStatusEntry{last()}=4Status of "{#SNMPVALUE}" is in partial failureAVERAGE{last()}=3Status of "{#SNMPVALUE}" is powered downHIGH{last()}=1Status of "{#SNMPVALUE}" is unknownINFOTemperature LC DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.47.1.1.1.1.7,{#SNMPDESC},.1.3.6.1.2.1.47.1.1.1.1.2]entPhysicalName["LC"]1hAND{#SNMPVALUE}^temperature [0-1]/[0-9]/CPU[0-1]$B{#SNMPDESC}Hot Temperature SensorHotspot0AThe textual name of the physical entity.Status of Temperature Sensor "$1"SNMP_AGENT1.3.6.1.4.1.9.9.91.1.1.1.1.5.{#SNMPINDEX}entSensorStatus["{#SNMPVALUE}","Temperature LC"]30d0CISCO-ENTITY-SENSOR-MIB::entSensorStatus
This variable indicates the present operational status of the sensor.Temperature LCTemperature LC {#SNMPVALUE}ENTITY-SENSORS-MIB::EntitySensorStatus{last()}=3Temperature Sensor "{#SNMPVALUE}" is nonoperationalHIGH{last()}=2Temperature Sensor "{#SNMPVALUE}" is unavailableAVERAGEThresholds::"$1" | Temperature AlarmSNMP_AGENT1.3.6.1.4.1.9.9.91.1.2.1.1.4.{#SNMPINDEX}.6entSensorThresholdValue["{#SNMPVALUE}","Temperature LC","Alarm"]1h7d180dFLOAT°CTemperature LCTemperature LC {#SNMPVALUE}MULTIPLIER0.1Temperature on Sensor "$1"SNMP_AGENT1.3.6.1.4.1.9.9.91.1.1.1.1.4.{#SNMPINDEX}entSensorValue["{#SNMPVALUE}","Temperature LC"]°CCISCO-ENTITY-SENSOR-MIB::entSensorValue
This variable reports the most recent measurement seen by the sensor.Temperature LCTemperature LC {#SNMPVALUE}MULTIPLIER0.1{Cisco ASR 9K Health SNMP:entSensorValue["{#SNMPVALUE}","Temperature LC"].last()}>{Cisco ASR 9K Health SNMP:entSensorThresholdValue["{#SNMPVALUE}","Temperature LC","Alarm"].last()}High Temperature Alarm "{#SNMPVALUE}"HIGHTemperature LC "{#SNMPVALUE}"GRADIENT_LINE00FF00- Cisco ASR 9K Health SNMPentSensorValue["{#SNMPVALUE}","Temperature LC"]
1BOLD_LINEFF0000- Cisco ASR 9K Health SNMPentSensorThresholdValue["{#SNMPVALUE}","Temperature LC","Alarm"]
Power Supply Sensors DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.47.1.1.1.1.7]entPhysicalName["Power Supply"]1h{#SNMPVALUE}^power\-moduleA0The textual name of the physical entity.Current Supplied by PowerSupply "$1"SNMP_AGENT1.3.6.1.4.1.9.9.117.1.1.2.1.3.{#SNMPINDEX}cefcFRUCurrent["{#SNMPVALUE}","Power Supply"]30m30d0FLOATWCISCO-ENTITY-FRU-CONTROL-MIB::cefcFRUCurrent
Current supplied by the FRU (positive values) or current required to operate the FRU (negative values).Power SupplyOperational Status of PowerSupply "$1"SNMP_AGENT1.3.6.1.4.1.9.9.117.1.1.2.1.2.{#SNMPINDEX}cefcFRUPowerOperStatus["{#SNMPVALUE}","Power Supply"]30d0CISCO-ENTITY-FRU-CONTROL-MIB::cefcFRUPowerOperStatus
Operational FRU power state.Power SupplyCISCO-ENTITY-FRU-CONTROL-MIB::PowerOperType{last()}=11Connector rating exceeded on Power Supply "{#SNMPVALUE}"AVERAGE{last()}=10Cooling capacity is insufficient on Power Supply "{#SNMPVALUE}"HIGH{last()}=9FAN failed on Power Supply "{#SNMPVALUE}"WARNING{last()}=7FAN problem on Power Supply "{#SNMPVALUE}"AVERAGE{last()}=5Power problem on Power Supply "{#SNMPVALUE}"AVERAGE{last()}=8 and {last()}=12Power Supply "{#SNMPVALUE}" is failedHIGH{last()}=1Power Supply "{#SNMPVALUE}" is powered offWARNING{last()}=4System power is insufficient on Power Supply "{#SNMPVALUE}"HIGH{last()}=6Temperature problem on Power Supply "{#SNMPVALUE}"HIGHPower Supply Current (A) DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.47.1.1.1.1.7]entPhysicalName["Power Supply Current"]1h{#SNMPVALUE}^current [0|1]/PS[0|1]/M[0-2]/SP$AThe textual name of the physical entity."$1"SNMP_AGENT1.3.6.1.4.1.9.9.91.1.1.1.1.4.{#SNMPINDEX}entPhysicalContainedInCurrent["{#SNMPVALUE}"]FLOATAPower CurrentMULTIPLIER0.001Current "{#SNMPVALUE}"BOLD_LINEFFFF00- Cisco ASR 9K Health SNMPentPhysicalContainedInCurrent["{#SNMPVALUE}"]
Power Supply Voltage (V) DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.47.1.1.1.1.7]entPhysicalName["Power Supply Voltage"]1h{#SNMPVALUE}^voltage [0|1]/PS[0|1]/M[0-2]/SP$AThe textual name of the physical entity."$1"SNMP_AGENT1.3.6.1.4.1.9.9.91.1.1.1.1.4.{#SNMPINDEX}entPhysicalContainedInVoltage["{#SNMPVALUE}"]FLOATVPower VoltageMULTIPLIER0.001Voltage "{#SNMPVALUE}"BOLD_LINE00FF00- Cisco ASR 9K Health SNMPentPhysicalContainedInVoltage["{#SNMPVALUE}"]
Temperature RSP DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.47.1.1.1.1.7,{#SNMPDESC},.1.3.6.1.2.1.47.1.1.1.1.2]entPhysicalName["RSP"]1hAND{#SNMPVALUE}^temperature [0-1]/RSP[0-1]/CPU[0-1]$B{#SNMPDESC}Hot Temperature SensorHotspot0AThe textual name of the physical entity.Status of Temperature Sensor "$1"SNMP_AGENT1.3.6.1.4.1.9.9.91.1.1.1.1.5.{#SNMPINDEX}entSensorStatus["{#SNMPVALUE}","Temperature RSP"]30d0CISCO-ENTITY-SENSOR-MIB::entSensorStatus
This variable indicates the present operational status of the sensor.Temperature RSPTemperature RSP {#SNMPVALUE}CISCO-ENTITY-SENSOR-MIB::SensorStatus{last()}=3Temperature Sensor "{#SNMPVALUE}" is nonoperationalHIGH{last()}=2Temperature Sensor "{#SNMPVALUE}" is unavailableAVERAGEThresholds::"$1" | Temperature AlarmSNMP_AGENT1.3.6.1.4.1.9.9.91.1.2.1.1.4.{#SNMPINDEX}.6entSensorThresholdValue["{#SNMPVALUE}","Temperature RSP","Alarm"]1h7d180d°CTemperature RSPTemperature RSP {#SNMPVALUE}MULTIPLIER0.1Temperature on Sensor "$1"SNMP_AGENT1.3.6.1.4.1.9.9.91.1.1.1.1.4.{#SNMPINDEX}entSensorValue["{#SNMPVALUE}","Temperature RSP"]FLOAT°CCISCO-ENTITY-SENSOR-MIB::entSensorValue
This variable reports the most recent measurement seen by the sensor.Temperature RSPTemperature RSP {#SNMPVALUE}MULTIPLIER0.1{Cisco ASR 9K Health SNMP:entSensorValue["{#SNMPVALUE}","Temperature RSP"].last()}>{Cisco ASR 9K Health SNMP:entSensorThresholdValue["{#SNMPVALUE}","Temperature RSP","Alarm"].last()}High Temperature Alarm "{#SNMPVALUE}"HIGHTemperature RSP "{#SNMPVALUE}"GRADIENT_LINE00FF00- Cisco ASR 9K Health SNMPentSensorValue["{#SNMPVALUE}","Temperature RSP"]
1FF0000- Cisco ASR 9K Health SNMPentSensorThresholdValue["{#SNMPVALUE}","Temperature RSP","Alarm"]
{$CPU_HIGH_ALARM}80% maximum alarm cpu{$CPU_HIGH_WARNING}70% maximum warning cpu{$MEMORY_HIGH_ALARM}80% maximum alarm memory{$MEMORY_HIGH_WARNING}70% maximum warning memoryScreen CPU1220CPU #"{#SNMPINDEX}" 1min UsageCisco ASR 9K Health SNMP500100001100000320CPU #"{#SNMPINDEX}" 5min UsageCisco ASR 9K Health SNMP5001000111000003Screen FAN1120FAN speed "{#SNMPVALUE}"/{#SNMPINDEX}Cisco ASR 9K Health SNMP5001000011000003Screen Memory1220Memory {#SNMPVALUE}Cisco ASR 9K Health SNMP500100001100000320Memory Utilization Pool "{#SNMPVALUE}"Cisco ASR 9K Health SNMP5001000111000003Screen Power130Power ConsumptionCisco ASR 9K Health SNMP500100001100000320Current "{#SNMPVALUE}"Cisco ASR 9K Health SNMP500100011100000320Voltage "{#SNMPVALUE}"Cisco ASR 9K Health SNMP5001000211000003Screen Temperature1220Temperature RSP "{#SNMPVALUE}"Cisco ASR 9K Health SNMP500100001100000320Temperature LC "{#SNMPVALUE}"Cisco ASR 9K Health SNMP5001000111000003Power ConsumptionGRADIENT_LINEFF0000- Cisco ASR 9K Health SNMPpowerConsumption
CISCO-ENTITY-FRU-CONTROL-MIB::CefcFanTrayStatusEntry1unknown2up3down4warningCISCO-ENTITY-FRU-CONTROL-MIB::PowerOperType1offEnvOther2on3offAdmin4offDenied5offEnvPower6offEnvTemp7offEnvFan8failed9onButFanFail10offCooling11offConnectorRating12onButInlinePowerFailCISCO-ENTITY-SENSOR-MIB::SensorStatus1ok2unavailable3nonoperationalENTITY-SENSORS-MIB::EntitySensorStatus1ok2unavailable3nonoperational