--- check_nt.c 2005-01-22 05:16:38.000000000 -0500 +++ check_nt.c.1.4snapshot 2005-01-22 03:26:29.000000000 -0500 @@ -32,7 +32,7 @@ const char *progname = "check_nt"; const char *revision = "$Revision: 1.39 $"; -const char *copyright = "2003-2005"; +const char *copyright = "2003-2004"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" @@ -392,7 +392,7 @@ case CHECK_FILEAGE: if (value_list==NULL) - output_message = strdup (_("No file specified")); + output_message = strdup (_("No counter specified")); else { preparelist(value_list); /* replace , between services with & to send the request */ asprintf(&send_buffer,"%s&9&%s", req_password,value_list); @@ -573,7 +573,7 @@ die (result, _("could not fetch information from server\n")); if (!strncmp(recv_buffer,"ERROR",5)) - die (STATE_UNKNOWN, "Client - %s\n",recv_buffer); /*changed from NSClient to be inclsive of NC_Net*/ + die (STATE_UNKNOWN, "NSClient - %s\n",recv_buffer); } int strtoularray(unsigned long *array, char *string, const char *delim) { @@ -614,7 +614,7 @@ printf ("Copyright (c) 2000 Yves Rubin (rubiyz@yahoo.com)\n"); printf (COPYRIGHT, copyright, email); - printf (_("This plugin collects data from the NSClient or NC_Net service running on a\n\ + printf (_("This plugin collects data from the NSClient service running on a\n\ Windows NT/2000/XP/2003 server.\n\n")); print_usage(); @@ -665,32 +665,24 @@ Request a -l parameters with the following syntax:\n\ -l ,,,...\n\ You can specify -d SHOWALL in case you want to see working services\n\ - in the returned string.\n")); + in the returned string.\n")); printf (_("\ PROCSTATE = Check if one or several process are running.\n\ Same syntax as SERVICESTATE.\n")); printf (_("\ COUNTER = Check any performance counter of Windows NT/2000.\n\ Request a -l parameters with the following syntax:\n\ - -l \"\\\\\\\\counter\",\"\n\ + -l \"\\\\\\\\counter\",\"\n\ The parameter is optional and \n\ is given to a printf output command which requires a float parameter.\n\ If does not include \"%%\", it is used as a label.\n\ Some examples:\n\ \"Paging file usage is %%.2f %%%%\"\n\ \"%%.f %%%% paging file used.\"\n")); - printf (_("\ - FILEAGE = Checks how old a file is .\n\ - Request a -l parameters with the following syntax:\n\ - -l \"\\\\\" - Warning and critical thresholds can be specified with -w and -c.\n")); - printf (_("Notes:\n\ - - The NSClient service should be running on the server to get any information\n\ - (http://nsclient.ready2run.nl).\n\ - or NC_Net should be running. DO not run both at the same time.\n\ - (http://www.shatterit.com/NC_Net).\n\ - - Critical thresholds should be lower than warning thresholds\n")); + - The NSClient service should be running on the server to get any information\n\ + (http://nsclient.ready2run.nl).\n\ + - Critical thresholds should be lower than warning thresholds\n")); }