On Nov 23, 2009, at 4:52 AM, Dayo Adewunmi wrote:

> Hi all
> 
> I have nagios monitoring two Ubuntu Linux labs. Each lab is a hostgroup.
> How do I get nagios to shutdown all the machines in a given hostgroup?

Nagios was not designed to do this. The only way I can think to do it would be 
to create a special check that only runs at a specific time that uses 
check_by_ssh (or another plugin you've written) to issue the shutdown command 
on the machines. 

--
Marc
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to