From 91b223642a7b7f493cf87f507928d249ede27e5a Mon Sep 17 00:00:00 2001 From: "Jeremy T. Bouse" Date: Wed, 12 Mar 2003 02:29:48 +0000 Subject: Code clean-up git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@403 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_ldap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/check_ldap.c') diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 90fe6225..5b983f4b 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c @@ -7,7 +7,7 @@ * * Last Modified: $Date$ * - * Command line: check_ldap -h -b -p -w -w + * Command line: check_ldap -H -b -p -w -w * * Description: * @@ -109,17 +109,17 @@ main (int argc, char *argv[]) t_diff = time1 - time0; if (crit_time!=UNDEFINED && t_diff>=crit_time) { - printf ("LDAP critical - %i seconds response time\n", t_diff); + printf ("LDAP CRITICAL - %i seconds response time\n", t_diff); return STATE_CRITICAL; } if (warn_time!=UNDEFINED && t_diff>=warn_time) { - printf ("LDAP warning - %i seconds response time\n", t_diff); + printf ("LDAP WARNING - %i seconds response time\n", t_diff); return STATE_WARNING; } /* print out the result */ - printf ("LDAP ok - %i seconds response time\n", t_diff); + printf ("LDAP OK - %i seconds response time\n", t_diff); return STATE_OK; } @@ -198,7 +198,7 @@ process_arguments (int argc, char **argv) crit_time = atoi (optarg); break; default: - usage ("check_ldap: could not parse arguments\n"); + usage ("check_ldap: could not parse unknown arguments\n"); break; } } -- cgit v1.2.3-74-g34f1