Forráskód Böngészése

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

Ton Voon 16 éve
szülő
commit
9ff36ec7e3
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      plugins/check_cluster.c

+ 5 - 0
plugins/check_cluster.c

@@ -261,6 +261,11 @@ print_help(void)
 	printf (_(UT_EXTRA_OPTS_NOTES));
 	printf (_(UT_EXTRA_OPTS_NOTES));
 #endif
 #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));
 	printf(_(UT_SUPPORT));
 }
 }