Ad Widget

Collapse

Trigger referencing a different template?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • x0tsing
    Junior Member
    • Feb 2007
    • 20

    #1

    Trigger referencing a different template?

    In an effort to keep things organized, I have templates for categories of servers. I have an Exchange template, a Web Server template, a Windows Server template, etc.

    The Windows Server template is where I grab event logs, but I want to use that information for triggers in other templates. Like if I get a particular Exchange log warning, I want to check for it in the Exchange template, like this:

    ({Windows_t:eventlog[Application].logsource(MSExchangeIS Mailbox Store)}=1)&({Windows_t:eventlog[Application].logseverity(2)}=2)

    but that doesn't work. Is there any way for a trigger to reference a template other than the one it lives in?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by x0tsing
    but that doesn't work. Is there any way for a trigger to reference a template other than the one it lives in?
    No, it is not supported.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • x0tsing
      Junior Member
      • Feb 2007
      • 20

      #3
      Thanks for the reply, Alexi. Might want to include that in the roadmap. It seems like a good way or organizing triggers, because disparate groups of triggers can often make use of the same data.

      Comment

      Working...