Ad Widget

Collapse

triggers and template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dsipe
    Senior Member
    • Oct 2006
    • 184

    #1

    triggers and template

    Hello,

    I've created many template to monitor different kind of device.
    When creating a new trigger, can i use to name of a template instead of the one of the host using that template ?

    example:

    {template_name:status.last(0)}=2
    instead of
    {serveur_name:status.last(0)}=2

    The first one doesn't do anything ...
  • Vince2
    Member
    • Oct 2006
    • 40

    #2
    You use the name of the template for the trigger that is in the template. This trigger is then copied to all hosts using this template and when you look at the triggers of one of those hosts, you should see the corresponding trigger where the name of the template has been changed to the name of the host.

    Comment

    • dsipe
      Senior Member
      • Oct 2006
      • 184

      #3
      that's exactly what 've done. so that's ok.

      then i created a action on that trigger to get an email when it reached the ON state.

      I defined a mail media for the admin user and associate a "send message" action to that user on that trigger ... but dont get any mail, although the trigger is raised.

      Using mail command on my linux server running zabbix server worked fine.

      Dont known where to look to get it work

      Comment

      Working...