Ad Widget

Collapse

Zabbix server 3.4 please help with trigger modification

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • panda1980
    Junior Member
    • Apr 2019
    • 4

    #1

    Zabbix server 3.4 please help with trigger modification

    Hello,
    Zabbix server 3.4
    I have an item
    omsa.pdstatus[{#PDISK},{#CONTROLLER},pfailure] witch is returning text value of a physical disk status
    Online
    Failed
    Ready

    And a trigger
    {Template OMSAmsa.pdstatus[{#PDISK},{#CONTROLLER},status].iregexp(Online,#1)}=0
    Default trigger check only "Online" status true or false.

    My question :
    How do I modify trigger so it's does not react on a true value on "Ready" status event?



    Please help.
  • panda1980
    Junior Member
    • Apr 2019
    • 4

    #2
    I'm trying to use this construction for trigger with regexp.
    If one of the values are valid trigger status is failed.
    Code:
     {Template OMSA:omsa.pdstatus[{#PDISK},{#CONTROLLER},status].iregexp(Online|Ready,#1)}=0

    Comment

    Working...