Ad Widget

Collapse

Automatic Severity change

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cdag
    Junior Member
    • Jul 2010
    • 2

    #1

    Automatic Severity change

    Hello,

    I have an item that returns the following values :
    0 => OK
    1 => Running
    2 => Warning
    3 => Error
    I would like to set up a kind of trigger whose severity is able to change regarding the return value of my item.
    I've tried to set up several triggers but it's not convenient because if the return value is 0 (Status is OK) all the over trigger are in PROBLEM state.
    I was thinking of trigger dependency but I'm not sure it is the best solution.

    Does somebody already experience this kind of problem ? Or do I have to change my mind on the way I have designed the key ?
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Hi,

    Originally posted by cdag
    I have an item that returns the following values :
    0 => OK
    1 => Running
    2 => Warning
    3 => Error
    I would like to set up a kind of trigger whose severity is able to change regarding the return value of my item.
    I've tried to set up several triggers but it's not convenient because if the return value is 0 (Status is OK) all the over trigger are in PROBLEM state.
    I was thinking of trigger dependency but I'm not sure it is the best solution.

    Does somebody already experience this kind of problem ? Or do I have to change my mind on the way I have designed the key ?
    I suppose that you want to raise a trigger for Warning and Error values only.

    You can define:
    trigger1 : {host:item.last(0)}=2
    with severity=Warning

    trigger2 : {host:item.last(0)}=3
    with severity=High

    And that's all.
    You don't need to define dependencies since your triggers will never be in PROBLEM state at the same time.

    Hope this helps
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • cdag
      Junior Member
      • Jul 2010
      • 2

      #3
      Thank you very much. That is exactly what I need
      I've tested and it does the trick.

      cdag

      Comment

      Working...