Ad Widget

Collapse

MACRO-support for URL-field (and many more others)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frater
    Senior Member
    • Oct 2010
    • 340

    #1

    MACRO-support for URL-field (and many more others)

    I have a trigger which detects an invalid state of an MS-Windows Portal.
    In the URL-field of that trigger I want to put:
    Code:
    https://{HOST.CONN1}/Remote/
    But Alas, this doesn't translate to the real thing in the interface when it actually happens....


    Could we please have {MACRO} support for those fields?????
    Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP
  • frater
    Senior Member
    • Oct 2010
    • 340

    #2
    I really want this in the next 2.0, but I think I haven't made clear enough how useful this can be ;-)

    I'm testing URL's based on {HOST.CONN}
    In my case it is testing if a windows portal can be reached.

    Code:
    {Template_Standalone:httpspeed[https://{HOST.CONN1}/Remote/ ].avg(#3)}=-1
    I have a trigger on that an in the trigger I'm giving the description:

    Code:
    Windows Portal (https://{HOST.CONN}/Remote/) is unreachable  - ({HOSTNAME})
    And added this in URL:
    Code:
    https://{HOST.CONN}/Remote/
    In the dashboard I will see a clickable link, which is what I want....
    This clickable link LOOKS good...

    It says:

    "Windows Portal (https://remote.zabbixisgreat.com/Remote/) is unreachable - (WINzabbixgreat.com)"

    But alas....
    If I click this link I will be taken to "https://{host.conn}/Remote/" and not "https://remote.zabbixisgreat.com/Remote/"

    I of course want {HOST.CONN} to be translated to its real domain :-(

    Could this, please, please, be added?
    Otherwise I need to create a special URL for each host and I really want to put it in the template for Windows Servers...
    Last edited by frater; 10-03-2012, 05:39.
    Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP

    Comment

    Working...