nagio ping script help needed

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Jun 13 07:57:10 CEST 2007


On 13/06/07 01:23 AM, garylua at singnet.com.sg wrote:
> Hi, I'm currently using Redhat Enterprise Linux 4 and I've installed and configured nagios on 1 of my servers. I have a problem in coming up with a script for a scenario and I hope somebody here can help me.
> 
> Assuming I have 2 servers, both running Nagios.Let's call them ServerA and ServerB. Both of them are initially configured in such a way that when they boot up, 3 redhat cluster services will be started : ccsd, cman and rgmanager. 
> 
> I need to configure Nagios in such a way that in the situation that when ServerA is up and running the 3 services and ServerB boots up, the 3 services on ServerB will be disabled at bootup (in other words, let ServerB boot up without starting the 3 services). My concern is that I do not want more than 1 instance of the services being started up.
> 
> Can Nagios be configured to accomplish this? I've already configure Nagios as a bootup service for Linux already. Thanks in advance for any help. 

I don't get it. Cluster services are usually there for this kind of
thing: making sure a service runs only once, or that no more than x
instances are running... But now you want that king of control for the
cluster services itself.. Are you trying to build a cluster of clusters???

I have no experience of RedHat cluster but I did use LinuxHA, and you
would run the cluster software on every nodes no matter if the clustered
services will be running there or no. Maybe your cluster is not properly
configured...

Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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