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

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Mon Jun 22 21:51:20 CEST 2009


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 <ton.voon at opsera.com>

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.




More information about the Commits mailing list