Ad Widget

Collapse

Add hrDeviceStatus value mapping

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • varnav
    Member
    • Jul 2009
    • 36

    #1

    Add hrDeviceStatus value mapping

    I thing this value mapping from HOST-RESOURCES-MIB would be useful to be included in default installation, because it is used in almost every SNMP device.

    The mapping is simple:

    1 ⇒ Unknown
    2 ⇒ Running
    3 ⇒ Warning
    4 ⇒ Testing
    5 ⇒ Down

    And it's description from mib says:

    The current operational state of the device described
    by this row of the table. A value unknown(1)
    indicates that the current state of the device is
    unknown. running(2) indicates that the device is up
    and running and that no unusual error conditions are
    known. The warning(3) state indicates that agent has
    been informed of an unusual error condition by the
    operational software (e.g., a disk device driver) but
    that the device is still 'operational'. An example
    would be a high number of soft errors on a disk. A
    value of testing(4), indicates that the device is not
    available for use because it is in the testing state.
    The state of down(5) is used only when the agent has
    been informed that the device is not available for any
    use.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    thanks for the suggestion - this mapping has been added for zabbix virtual appliance 1.8.8 (but it can not at this time be added for the main data.sql yet)
    Zabbix 3.0 Network Monitoring book

    Comment

    • varnav
      Member
      • Jul 2009
      • 36

      #3
      Glad to hear. But what is wrong with main data.sql? It's quite outdated anyway and needs updating.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        mainly - it's hard to maintain. most changes are pretty much direct updates for sql queries, which need a significant amount of work even for simple changes. given that data.sql was broken a few times in the past, it was decided to keep it as stable as possible in the stable branch.
        for appliance, a more automated approach is used, which makes changes pretty much trivial.
        Zabbix 3.0 Network Monitoring book

        Comment

        Working...