Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25827

Templates for Mikrotik routers erroneously divide CPU temperature to 10

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: False Positive
    • Icon: Trivial Trivial
    • None
    • 7.2.1
    • Templates (T)
    • None

      At least two of templates for Mikrotik have unneeded multiplier for sensor.temp.valuemtxrHlProcessorTemperature.{#SNMPINDEX} item prototype.

      ```

                item_prototypes:
                    name: 'CPU: Temperature'
                    type: DEPENDENT
                    key: 'sensor.temp.valuemtxrHlProcessorTemperature.{#SNMPINDEX}'
                    value_type: FLOAT
                    units: °C
                    description: "MIB: MIKROTIK-MIB\r\nmtxrHlProcessorTemperature Processor temperature in Celsius (degrees C).\r\nMight be missing in entry models (RB750, RB450G..)."
                    preprocessing:
                      - type: SNMP_WALK_VALUE
                        parameters:
                          - '1.3.6.1.4.1.14988.1.1.3.11.{#SNMPINDEX}'
                          - '0'
      +               - type: MULTIPLIER
      +                 parameters:
      +                   - '0.1'

      ```

      Affected templates are:

      • Mikrotik by SNMP
      • MikroTik RB4011iGS+RM by SNMP

      All of my routers using this templates are sending temperature without need for this multiplier:

      MIKROTIK-MIB::mtxrHlProcessorTemperature.0 = INTEGER: 55.0

            drasikhov Denis Rasikhov
            iprok Ivan Prokudin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: