Ad Widget

Collapse

One trigger or multiple? SNMP values 0,1,2,3... mapped to info, warn, high etc.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jtnfoley
    Member
    • Mar 2022
    • 76

    #1

    One trigger or multiple? SNMP values 0,1,2,3... mapped to info, warn, high etc.

    My google-fu is failing me... Sorry if this is a rehashed topic.
    Zabbix: v6.0.3
    Host: IBM TS3100 tape library
    Agent: SNMP v2c
    MIB translated via mib2zabbix.pl: enabled the interesting items created by this translation and am getting good values.

    I'm trying to create a trigger based on "ibm3100StatusGlobalStatus" which is basically the library health. It's an SNMP numeric that returns one of an array of values:
    other(1),
    unknown(2),
    ok(3),
    non-critical(4),
    critical(5),
    non-Recoverable(6)

    I can trigger on <>3 easily enough, but I'd like to try to map integer values to alarm states:
    <3 = Information
    4 = Warning
    5 = High
    6 = Disaster

    Is this going to be four separate triggers, or is there a means of mapping triggering values to alert states? I've searched to lookup() and case() type functions but I'm striking out.
  • lazylion.ca
    Junior Member
    • Apr 2018
    • 7

    #2
    You'd need four separate triggers.

    Comment

    Working...