diff options
author | Ton Voon <ton.voon@opsera.com> | 2009-06-22 20:48:57 +0100 |
---|---|---|
committer | Ton Voon <ton.voon@opsera.com> | 2009-06-22 20:48:57 +0100 |
commit | 9ff36ec7e341dab6792652b4b18e32016eeef3d2 (patch) | |
tree | c3824967496ae49ed5a93bb4013c397ab689c968 | |
parent | 013f0a187f0a52edc94488ed1afbed71a6d3efd5 (diff) | |
download | monitoring-plugins-9ff36ec7e341dab6792652b4b18e32016eeef3d2.tar.gz |
Added example for check_cluster to alert if more than X non-OK states
-rw-r--r-- | plugins/check_cluster.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index 01385886..89b1a0e1 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)); } |