Execute program on remote host

Andreas Ericsson ae at op5.se
Sat Oct 23 11:49:36 CEST 2010


On 10/23/2010 11:38 AM, Jonas Kellens wrote:
> Hello list,
> 
> is the following setup possible :
> 
> host A : Nagios Server
> host B : server being monitored
> host C : backup server
> 
> If Nagios (host A) can not ping host B (or any other check via nrpe), 
> can Nagios then execute a command on host C ??
> 

Yes.
> 
> I want Nagios to activate the backup server (host C), when the 
> production server (host B) has problems.
> 

Look through the docs for eventhandlers.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list