Ad Widget

Collapse

Opinions On Dependency vs Duplicate Triggers vs Cross-Template Expressions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Clontarf[X]
    Member
    • Jan 2017
    • 80

    #1

    Opinions On Dependency vs Duplicate Triggers vs Cross-Template Expressions

    Let me explain;

    My customer has monitoring criteria of the following;
    - Server not checked in to product in over 7 days
    - Server is not a Windows XP machine
    - Server has not responded to ping in last 24 hours

    This translates to a Trigger which contains criteria like;

    Code:
    {Template - OS:system.localtime[utc].last()} - {$DEVICE_CHECKIN_EPOCH}>{$MISSING_CHECKIN_PERIOD} and
    {Template - OS:wmi.get[root\cimv2,SELECT Caption FROM CIM_OperatingSystem].regexp(.*Windows XP.*)}=0 and
    {Template - Ping:icmppingloss[{IPADDRESS},5,1000,,10000].last(86400)}=0
    The problem as you can see is that I don't have a ping trigger in the same template, so of course this doesn't work.

    In your opinions, is the correct thing to do;

    1) Create a new trigger which is for the 24 hour period the customer specifies in my existing Ping template, then add dependency; or
    2) Create a new trigger on Template - CheckIn which performs the 24 hour ping check and use that in my trigger; or
    3) Lobby Zabbix to create the ability to use triggers from other templates/hosts in expressions.

    Thanks
    Last edited by Clontarf[X]; 12-05-2017, 11:04.
Working...