Ad Widget

Collapse

Reboot host when problem on other host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cor9957
    Junior Member
    • Jan 2014
    • 12

    #1

    Reboot host when problem on other host

    Hi all,

    I have a question about setting up an action which should be triggered on a specific host.
    Here's what I'm trying to accomplish;
    When a specific file (c:\reboot) is present on host A, host B needs to reboot.
    I've got trigger (Reboot HOST_B) working that checks if the file is present, I know how reboot a Windows PC using Zabbix, but I don't know how to setup the conditions of the action.

    So far I have the following conditions setup:
    Trigger value = PROBLEM
    Trigger = HOST_A: Reboot HOST_B
    Host = HOST_A

    I'm using Zabbix 2.2, I hope somebody can help me.

    TIA

    Regards,
    Cor.
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hi,

    The Conditions look fine to me. Maybe even Host = HOST_A is not needed.
    The main thing for you now is to set the operations correct that the host gets rebooted when the action is escalated. Please have a look at the documentation here to get more information on how it is done: https://www.zabbix.com/documentation...remote_command

    Best Regards,
    Ingus

    Comment

    Working...