Ad Widget

Collapse

Hostid & Actions & Triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chubz
    Junior Member
    • Jul 2012
    • 11

    #1

    Hostid & Actions & Triggers

    So I'm trying to make an action that uses a script, but in order to use that script, i need the hostid of the server node that was reported in a trigger.

    Here I'll explain a little better.
    Lets consider the following scenario.

    1. Trigger alerts user that "No data received from server"
    2. Action responds to trigger and runs a script that uses the hostid of that server that was having a problem.

    How do i retrieve the hostid?

    I know hostname would be {HOST.NAME} or something like that. I tried {HOST.ID} but i dont think it worked
  • bbrendon
    Senior Member
    • Sep 2005
    • 870

    #2
    Its in the feature requests...
    Unofficial Zabbix Expert
    Blog, Corporate Site

    Comment

    Working...