SF.net SVN: nagiosplug:[2227] nagiosplug/trunk/plugins/check_cluster.c

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 2227
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2227&view=rev
Author:   dermoth
Date:     2009-06-22 19:51:20 +0000 (Mon, 22 Jun 2009)

Log Message:
-----------
Added example for check_cluster to alert if more than X non-OK states

From: Ton Voon <[email protected]>

Modified Paths:
--------------
    nagiosplug/trunk/plugins/check_cluster.c

Modified: nagiosplug/trunk/plugins/check_cluster.c
===================================================================
--- nagiosplug/trunk/plugins/check_cluster.c	2009-06-16 21:54:19 UTC (rev 2226)
+++ nagiosplug/trunk/plugins/check_cluster.c	2009-06-22 19:51:20 UTC (rev 2227)
@@ -261,6 +261,11 @@
 	printf (_(UT_EXTRA_OPTS_NOTES));
 #endif
 
+	printf ("\n");
+	printf ("%s\n", _("Examples:"));
+	printf (" %s\n", "check_cluster -s -d 2,0,2,0 -c @3:");
+	printf ("    %s\n", _("Will alert critical if there are 3 or more service data points in a non-OK state") );
+
 	printf(_(UT_SUPPORT));
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.