Ad Widget

Collapse

Trigger with Hostname Regex

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VectorAudioUK
    Junior Member
    • Oct 2020
    • 7

    #1

    Trigger with Hostname Regex

    Hi.

    Firstly, loving Zabbix, been running it for about a month.

    I'm having issues with a trigger which is excluded if the Hostname matches a regex.

    {WebstreamMonitoring:track_info.nodata({$TIMEOUT}) }=1 and {{HOST.NAME}.regsub("dev", \1)}=0

    I don't want the trigger to activate if the Host name contains the word "dev". I think I'm close, I just can't quite figure it out.

    Thanks
    Simon
Working...