Ad Widget

Collapse

Auto Delete Unavailable Hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • razroel
    Junior Member
    • Nov 2015
    • 2

    #1

    Auto Delete Unavailable Hosts

    Hello,

    I'm using AWS Auto Scale, and my servers are come and go.

    I want to delete unavailable hosts if they down for 3 days for example.

    How it can be done? I tried to do it with triggers, but it's doesn't work.

    Thanks,
    Roey
  • coreychristian
    Senior Member
    Zabbix Certified Specialist
    • Jun 2012
    • 159

    #2
    I don't think there is an out of box way to do this.

    One way I can think of off the top of my head is creating an action to run a script that would do this via the API if the host was down for X period of time.

    Comment

    • DeeZ
      Member
      • Aug 2015
      • 82

      #3
      Originally posted by coreychristian
      I don't think there is an out of box way to do this.

      One way I can think of off the top of my head is creating an action to run a script that would do this via the API if the host was down for X period of time.
      Can you provide the script for example?

      Comment

      Working...