Ad Widget

Collapse

b7 - Templating

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DiedX
    Senior Member
    • Oct 2004
    • 106

    #1

    b7 - Templating

    Hi there!

    First off all: I'm very impressed with b7! It seems to do the job perfectly. One of the things I still don't seem to get working is templating, and then the trigger part.

    For instance:

    I have a host-template, called tpl_Lemonbit. In this template, I want to have (e.g.) HTTP and FTP as a simple check. This works.

    I created a new host, diedx.nl, which I made with the template-linking, WORKS. (yahoo!). Now the new part: when HTTP goes down for more then 5 minutes, I want to have some SMS. And there I'm stuck.

    I go to the tpl_lemonbit, and try to create the template. Whatever I use: IT-WONT-WORK. Where is my failure??

    What works:

    ({diedx.nl:http.max(300)})=0

    What doesn't work:
    ({{HOSTNAME}:http.max(300)})=0

    Help??
    https://www.diederik.nl
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Create ({tpl_Lemonbit:http.max(300)})=0 and all linked hosts including diedx.nl will be updated.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • DiedX
      Senior Member
      • Oct 2004
      • 106

      #3
      Aargh! That easy Great! Thanks a lot!
      https://www.diederik.nl

      Comment

      • tronite
        Senior Member
        • Jun 2007
        • 147

        #4
        Originally posted by DiedX
        Aargh! That easy Great! Thanks a lot!
        Another satisfied day of a zabbix user because of Alexei, let's hear it for the big man...!

        Comment

        Working...