From: Ton Voon Date: Mon, 22 Jun 2009 19:48:57 +0000 (+0100) Subject: Added example for check_cluster to alert if more than X non-OK states X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9ff36ec7e341dab6792652b4b18e32016eeef3d2;p=nagiosplug.git Added example for check_cluster to alert if more than X non-OK states --- diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index 0138588..89b1a0e 100644 --- a/plugins/check_cluster.c +++ b/plugins/check_cluster.c @@ -261,6 +261,11 @@ print_help(void) 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)); }