Ad Widget

Collapse

is HOSTNAME Variable possible?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dpsantos
    Member
    Zabbix Certified Specialist
    • Mar 2005
    • 60

    #1

    is HOSTNAME Variable possible?

    is HOSTNAME Variable possible in the triggers description?
    If yes, can anyone tell me how?

    Duarte Santos
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I believe the macro {HOSTNAME} is already supported!
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Wolfgang
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified Specialist
      • Apr 2005
      • 116

      #3
      {HOSTNAME} is supported in V1.1A7 at least for Trigger Describtion. I haven't checke for wether it can be used somewhere else.
      http://www.intellitrend.de
      Specialised in monitoring large environments and Zabbix API programming.

      Comment

      • rxm8028
        Member
        • Apr 2005
        • 45

        #4
        Variable in Trigger Name

        Originally posted by Alexei
        I believe the macro {HOSTNAME} is already supported!
        I am attempting to use the {HOSTNAME} variable in a trigger description, but when I view the trigger on the OverView screen, it just says '{HOSTNAME}', intead of substituting the actual name of the host. Is there some subtle syntax I am overlooking?

        PS - I am running Zabbix 1.1A9.

        Thanks,

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          Originally posted by rxm8028
          I am attempting to use the {HOSTNAME} variable in a trigger description, but when I view the trigger on the OverView screen, it just says '{HOSTNAME}', intead of substituting the actual name of the host. Is there some subtle syntax I am overlooking?
          There're could be many hosts per one trigger in the Overview Screen. It makes no sense to replace {HOSTNAME} by actual host name. Why?
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • davewinter
            Junior Member
            • Jun 2006
            • 7

            #6
            HOSTNAME in Trigger Overview

            I get the same thing! It would be much easier to logically break items up if this worked.


            Originally posted by rxm8028
            I am attempting to use the {HOSTNAME} variable in a trigger description, but when I view the trigger on the OverView screen, it just says '{HOSTNAME}', intead of substituting the actual name of the host. Is there some subtle syntax I am overlooking?

            PS - I am running Zabbix 1.1A9.

            Thanks,

            Comment

            • davewinter
              Junior Member
              • Jun 2006
              • 7

              #7
              Alexi,

              I see what you mean,can we at least remove the {HOSTNAME} from showing up in the Overview?

              Originally posted by Alexei
              There're could be many hosts per one trigger in the Overview Screen. It makes no sense to replace {HOSTNAME} by actual host name. Why?

              Comment

              Working...