<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Deborah Martin wrote:<br>
<blockquote cite="midNNEHJAOGFFMLGJLNAMMKCENMDHAA.deborah.martin@whitecross.com" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2800.1498" name="GENERATOR">
<div><font face="Arial" size="2"><span class="840152211-30092005">Hi,
</span></font></div>
<div><font face="Arial" size="2"><span class="840152211-30092005"></span></font> </div>
<div><font face="Arial" size="2"><span class="840152211-30092005">What
would be the best way approach the following : </span></font></div>
<div><font face="Arial" size="2"><span class="840152211-30092005"></span></font> </div>
<div><font face="Arial" size="2"><span class="840152211-30092005">10
Blades running Linux (so each blade has its own IP address)</span></font></div>
<div><font face="Arial" size="2"><span class="840152211-30092005">Together
they are one database server </span></font></div>
<div><font face="Arial" size="2"><span class="840152211-30092005"></span></font> </div>
<div><font face="Arial" size="2"><span class="840152211-30092005">a)
I want to monitor each blade to ensure they are up. If down I need
Nagios to tell me specifically which blade is down. </span></font></div>
<div><font face="Arial" size="2"><span class="840152211-30092005"></span></font> </div>
<div><font face="Arial" size="2"><span class="840152211-30092005">I've
played with the hosts.cfg file and put in multiple IP addresses but if
one goes down, the info returned to Nagios isn't telling me </span></font></div>
<div><font face="Arial" size="2"><span class="840152211-30092005">anything
specific (or do I need to tweak this myself ?) </span></font></div>
<div><font face="Arial" size="2"><span class="840152211-30092005"></span></font> </div>
<div><font face="Arial" size="2"><span class="840152211-30092005">I'm
using check_ssh rather than ping as there is a firewall between Nagios
and the blades which doesn't allow ping through. </span></font></div>
<div><font face="Arial" size="2"><span class="840152211-30092005"></span></font> </div>
<div><font face="Arial" size="2"><span class="840152211-30092005">Any
help would be appreciated! </span></font></div>
<div><font face="Arial" size="2"><span class="840152211-30092005"></span></font></div>
</blockquote>
<br>
Hi.. So each individual server of the cluster has its own IP address?<br>
<br>
Then you can, in the nagios hosts.cfg file define a human readable name
for each host as follows:<br>
<tt><br>
<br>
define host {<br>
use generic-host<br>
name server1.cluster<br>
alias Server1 in blah Satabase Server Cluster<br>
</tt> address ip.address / host.name.com<br>
}<br>
<br>
<br>
This may be of help also<br>
<a class="moz-txt-link-freetext" href="http://nagios.sourceforge.net/docs/2_0/clusters.html">http://nagios.sourceforge.net/docs/2_0/clusters.html</a><br>
<br>
I forgot the page which defines all of the configuration options for
the hosts, but it should be easy to find<br>
<br>
rob.<br>
<br>
</body>
</html>