Ad Widget

Collapse

Cisco 9300 false alarms for HotSpot Temperature sensors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hernan
    Member
    • Sep 2016
    • 67

    #1

    Cisco 9300 false alarms for HotSpot Temperature sensors

    Hello group, I have the following problem:

    Zabbix 4.4.5 / Ubuntu 18.04

    Problem description:

    I tried to collect Cisco 9300 information via SNMP. During the proces I received the following info:

    ***********************
    Switch 1 - HotSpot Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.1014] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 56 °C Graph

    Switch 1 - HotSpot Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.1014] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 1 - Inlet Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.1012] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 26 °C +1 °C Graph

    Switch 1 - Inlet Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.1012] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 1 - Outlet Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.1013] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 37 °C Graph

    Switch 1 - Outlet Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.1013] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 2 - HotSpot Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.2014] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 60 °C Graph

    Switch 2 - HotSpot Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.2014] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 2 - Inlet Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.2012] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 25 °C Graph

    Switch 2 - Inlet Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.2012] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 2 - Outlet Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.2013] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 36 °C Graph

    Switch 2 - Outlet Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.2013] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph



    ***********************

    Some sensors reports more than 50° C. Is this correct? I found a Zabbix ticket with the same error reported:
    Template Net Cisco IOS SNMPv2 - false alarms for HotSpot Temperature sensors ( not recognized)

    https://support.zabbix.com/browse/ZBX-16356

    Could you please help me with this issue?

    Thanks in advance.

    Regards.




  • hernan
    Member
    • Sep 2016
    • 67

    #2
    Originally posted by hernan
    Hello group, I have the following problem:

    Zabbix 4.4.5 / Ubuntu 18.04

    Problem description:

    I tried to collect Cisco 9300 information via SNMP. During the proces I received the following info:

    ***********************
    Switch 1 - HotSpot Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.1014] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 56 °C Graph

    Switch 1 - HotSpot Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.1014] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 1 - Inlet Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.1012] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 26 °C +1 °C Graph

    Switch 1 - Inlet Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.1012] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 1 - Outlet Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.1013] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 37 °C Graph

    Switch 1 - Outlet Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.1013] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 2 - HotSpot Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.2014] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 60 °C Graph

    Switch 2 - HotSpot Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.2014] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 2 - Inlet Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.2012] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 25 °C Graph

    Switch 2 - Inlet Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.2012] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph

    Switch 2 - Outlet Temp Sensor, GREEN : Temperature
    sensor.temp.value[ciscoEnvMonTemperatureValue.2013] 3m 90d 365d SNMPv2 agent 2020-02-10 17:51:18 36 °C Graph

    Switch 2 - Outlet Temp Sensor, GREEN : Temperature status
    sensor.temp.status[ciscoEnvMonTemperatureState.2013] 3m 2w 0d SNMPv2 agent 2020-02-10 17:51:18 normal (1) Graph



    ***********************

    Some sensors reports more than 50° C. Is this correct? I found a Zabbix ticket with the same error reported:
    Template Net Cisco IOS SNMPv2 - false alarms for HotSpot Temperature sensors ( not recognized)

    https://support.zabbix.com/browse/ZBX-16356

    Could you please help me with this issue?

    Thanks in advance.

    Regards.



    Hello Guys,


    Could you please help me with this issue?

    Thanks in advance.

    Regards.

    Comment

    • tim.mooney
      Senior Member
      • Dec 2012
      • 1427

      #3
      Hi Hernan!

      I guess I don't understand what the issue is that you're having? Is it that you're not sure that the values Zabbix is reporting are correct?

      Am I correct in understanding that you're using one of the templates that comes with Zabbix, and that template uses SNMP to monitor a particular model of Cisco equipment?

      If my understanding is correct, then my recommendation to you is
      1. Examine the template you're trying to use. Figure out which SNMP OIDs that template is using, and then compare that with documentation for your exact Cisco equipment, to make certain that the template is using the correct OIDs for your gear. Many big vendors often revise their equipment, so it's important that you verify that the template that comes with Zabbix is correct for your particular model and revision of the equipment. As a Cisco customer, you should be able to get the correct MIBs for your particular model and revision of equipment, and then compare the OIDs to the ones that this template is using.
      2. Once you've confirmed that the Zabbix template is using OIDs that are correct for your equipment, then it should be very easy to check the values that are being reported and compare them to what Zabbix is showing. Using SNMP tools like snmpwalk can help you verify that the Zabbix values match values gathered via some other method. The support ticket you linked also mentions a Cisco IOS command you can run that will get some of the same values in a different way. That might be another good method to confirm that Zabbix is collecting the right data.

      Does that help, or have I completely misunderstood what you're asking about?

      Comment

      • mintamanta
        Junior Member
        • Nov 2020
        • 14

        #4
        Hello hernan,

        more than 50° C is ok on Cisco 9300 for 2 sensors. I logged on and I get this output:
        *********-9300-12#show environment temp
        Switch 1: SYSTEM TEMPERATURE is OK
        Inlet Temperature Value: 27 Degree Celsius
        Temperature State: GREEN
        Yellow Threshold : 46 Degree Celsius
        Red Threshold : 56 Degree Celsius

        Outlet Temperature Value: 35 Degree Celsius
        Temperature State: GREEN
        Yellow Threshold : 105 Degree Celsius
        Red Threshold : 125 Degree Celsius

        Hotspot Temperature Value: 57 Degree Celsius
        Temperature State: GREEN
        Yellow Threshold : 105 Degree Celsius
        Red Threshold : 125 Degree Celsius

        As you can see "Outlet" and "Hotspot" can have higher values. I had problems to create trigger, because Temperature Discovery has only 2 Items. I created a new Item for sensor name:
        New Item
        At next discovery you can see new item at Latest Data:
        Discovered data
        Now I was able to create new triggers for different sensors. At first I created new macros for triggers, and modified the Values. Remember, Inlet Temp Sensor need different values!
        Macros
        And I created 4 new Triggers:
        Triggers
        I didn't need original triggers anymore, so I turned them off. I tested triggers (modified the macro values), and it works fine.

        Regards, mintamanta

        Comment


        • m.campos
          m.campos commented
          Editing a comment
          Hi, could you send the item prototypes and triggers in text? The image quality is poor, and I couldn’t understand some characters.
      • nic
        Junior Member
        • Jan 2021
        • 3

        #5
        Wow mintamanta! Thank you so much for your complete and thorough example. This problem has been a thorn in my side since first setting up Zabbix. I have implemented your changes, as shown, and am so relieved at the results.

        Honestly, I am also so glad to finally be able, with this clear example, to start to understand how to adapt the pre-made templates for my own needs. So thanks for that, too.

        In a perfect world there wouldn't be any need to manually set the macros for these min and max values, since they're encoded in the MIB, but that's a project for another day. :-)

        Cheers,
        -nic

        Comment

        • iakinfiev
          Junior Member
          • Sep 2021
          • 1

          #6
          The issue is that the templates do not read / take into account the threshold values, which are higher (125) for the hotspot sensors than the others (56).

          1.3.6.1.4.1.9.9.13.1

          snmpwalk -m CISCO-ENVMON-MIB -v2c -c xxxx 10.10.10.5 1.3.6.1.4.1.9.9.13.1

          CISCO-ENVMON-MIB::ciscoEnvMonPresent.0 = INTEGER: other(14)
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.1012 = STRING: Switch 1 - Inlet Temp Sensor, GREEN
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.1013 = STRING: Switch 1 - Outlet Temp Sensor, GREEN
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.1014 = STRING: Switch 1 - HotSpot Temp Sensor, GREEN
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.2012 = STRING: Switch 2 - Inlet Temp Sensor, GREEN
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.2013 = STRING: Switch 2 - Outlet Temp Sensor, GREEN
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.2014 = STRING: Switch 2 - HotSpot Temp Sensor, GREEN
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.3012 = STRING: Switch 3 - Inlet Temp Sensor, GREEN
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.3013 = STRING: Switch 3 - Outlet Temp Sensor, GREEN
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.3014 = STRING: Switch 3 - HotSpot Temp Sensor, GREEN
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.1012 = Gauge32: 35 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.1013 = Gauge32: 38 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.1014 = Gauge32: 56 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.2012 = Gauge32: 35 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.2013 = Gauge32: 40 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.2014 = Gauge32: 62 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.3012 = Gauge32: 31 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.3013 = Gauge32: 37 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.3014 = Gauge32: 49 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.1012 = INTEGER: 56 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.1013 = INTEGER: 125 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.1014 = INTEGER: 125 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.2012 = INTEGER: 56 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.2013 = INTEGER: 125 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.2014 = INTEGER: 125 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.3012 = INTEGER: 56 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.3013 = INTEGER: 125 degrees Celsius
          CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.3014 = INTEGER: 125 degrees Celsius

          .1.3.6.1.4.1.9.9.13.1.1.0 = INTEGER: other(14)
          .1.3.6.1.4.1.9.9.13.1.3.1.2.1012 = STRING: Switch 1 - Inlet Temp Sensor, GREEN
          .1.3.6.1.4.1.9.9.13.1.3.1.2.1013 = STRING: Switch 1 - Outlet Temp Sensor, GREEN
          .1.3.6.1.4.1.9.9.13.1.3.1.2.1014 = STRING: Switch 1 - HotSpot Temp Sensor, GREEN
          .1.3.6.1.4.1.9.9.13.1.3.1.2.2012 = STRING: Switch 2 - Inlet Temp Sensor, GREEN
          .1.3.6.1.4.1.9.9.13.1.3.1.2.2013 = STRING: Switch 2 - Outlet Temp Sensor, GREEN
          .1.3.6.1.4.1.9.9.13.1.3.1.2.2014 = STRING: Switch 2 - HotSpot Temp Sensor, GREEN
          .1.3.6.1.4.1.9.9.13.1.3.1.2.3012 = STRING: Switch 3 - Inlet Temp Sensor, GREEN
          .1.3.6.1.4.1.9.9.13.1.3.1.2.3013 = STRING: Switch 3 - Outlet Temp Sensor, GREEN
          .1.3.6.1.4.1.9.9.13.1.3.1.2.3014 = STRING: Switch 3 - HotSpot Temp Sensor, GREEN
          .1.3.6.1.4.1.9.9.13.1.3.1.3.1012 = Gauge32: 34 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.3.1013 = Gauge32: 37 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.3.1014 = Gauge32: 56 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.3.2012 = Gauge32: 34 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.3.2013 = Gauge32: 39 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.3.2014 = Gauge32: 62 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.3.3012 = Gauge32: 31 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.3.3013 = Gauge32: 37 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.3.3014 = Gauge32: 48 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.4.1012 = INTEGER: 56 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.4.1013 = INTEGER: 125 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.4.1014 = INTEGER: 125 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.4.2012 = INTEGER: 56 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.4.2013 = INTEGER: 125 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.4.2014 = INTEGER: 125 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.4.3012 = INTEGER: 56 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.4.3013 = INTEGER: 125 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.4.3014 = INTEGER: 125 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.5.1012 = INTEGER: 0 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.5.1013 = INTEGER: 0 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.5.1014 = INTEGER: 0 degrees Celsius
          .1.3.6.1.4.1.9.9.13.1.3.1.5.2012 = INTEGER: 0 degrees Celsius

          Comment

          • giffordj
            Junior Member
            • Jan 2021
            • 2

            #7
            Does anyone have the updated template posted anywhere?
            ​​​​​

            Comment

            • grzesiek
              Junior Member
              • Jul 2024
              • 2

              #8
              To fix temp issue in HotSpot, add those two macros to template

              Code:
              {$TEMP_CRIT:regex:".*HotSpot Temp Sensor.*"}  = 120
              {$TEMP_WARN:regex:".*HotSpot Temp Sensor.*"}  = 100
              I already had triggers in PROBLEM, it didn't fix itself I had to remove the triggers from the devices, as they were added again by discovery, they work fine

              Comment

              Working...