check_cluster2 does not work as expected

Werner Flamme werner.flamme at ufz.de
Sat Sep 5 17:41:18 CEST 2009


Hi,

I want to check a cluster consisting of 2 nodes. The task is simple:
show how many nodes are up (respective down, there are two nodes).

The command definition is:

$USER1$/check_cluster2 -h -l $HOSTALIAS$ -w 1 -c 2 -d $ARG1$

So, the host alias of the cluster will be the label, the plugin should
give a "warning" when 1 node is down, and should cry "critical" when
both nodes are down.

That's what I thought this command would do.

And that's what I read in the mean time:

CLUSTER OK: FW-Cluster: 1 up, 1 down, 0 unreachable

Sorry? Why is "1 down" not seen as warning? What do I do wrong?

TIA
Werner


------------------------------------------------------------------------------
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 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