![]() |
![]() |
Subject: | AutoHealing ? |
Author: | [Not Specified] |
Posted: | 2014-11-14 04:10 |
Hi,
I'm trying to achieve AutoHealing through Zenoss, the scenario I have is when a server runs out of free swap memory there is a certain process service I need to restart.
Is is possible to achieve that with Zenoss I have been searching the documentation with no luck...
I have set the swap memory threshold and get the notification successfully but I really need your help for the steps in order to execute a remote command on the target server to restart the process.
Kind regards.
Subject: | You want to make a new |
Author: | [Not Specified] |
Posted: | 2014-11-14 10:25 |
You want to make a new Notification of type Command, then fill in the command box eg.
ssh ${evt/device} /run/my/command
Good luck though ssh'ing into a box that's out of swap, you may not be able to start your login process!
Subject: | rather than waiting until the |
Author: | Andrew Kirch |
Posted: | 2014-11-18 09:09 |
rather than waiting until the box is out of swap, you might want to restart the process at 70% swap utilization, or allocate more swap/ram I'd also point out that if the time it takes to run out of resources is semi-consistent, you may wish to simply add an entry to the local crontab.
Andrew Kirch
akirch@gvit.com
Need Zenoss support, consulting or custom development Look no further. Email or PM me!
Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard
< |
Previous Removing 400K Events |
Next Adding a MIB to a Monitoring Template |
> |