summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mysql_query.c')
-rw-r--r--plugins/check_mysql_query.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c
index a92b857..802e345 100644
--- a/plugins/check_mysql_query.c
+++ b/plugins/check_mysql_query.c
@@ -6,8 +6,6 @@
6* Copyright (c) 2006-2007 Nagios Plugins Development Team 6* Copyright (c) 2006-2007 Nagios Plugins Development Team
7* Original code from check_mysql, copyright 1999 Didi Rieder 7* Original code from check_mysql, copyright 1999 Didi Rieder
8* 8*
9* Last Modified: $Date$
10*
11* Description: 9* Description:
12* 10*
13* This file contains the check_mysql_query plugin 11* This file contains the check_mysql_query plugin
@@ -28,12 +26,10 @@
28* You should have received a copy of the GNU General Public License 26* You should have received a copy of the GNU General Public License
29* along with this program. If not, see <http://www.gnu.org/licenses/>. 27* along with this program. If not, see <http://www.gnu.org/licenses/>.
30* 28*
31* $Id$
32* 29*
33*****************************************************************************/ 30*****************************************************************************/
34 31
35const char *progname = "check_mysql_query"; 32const char *progname = "check_mysql_query";
36const char *revision = "$Revision$";
37const char *copyright = "1999-2007"; 33const char *copyright = "1999-2007";
38const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const char *email = "nagiosplug-devel@lists.sourceforge.net";
39 35
@@ -231,7 +227,7 @@ process_arguments (int argc, char **argv)
231 verbose++; 227 verbose++;
232 break; 228 break;
233 case 'V': /* version */ 229 case 'V': /* version */
234 print_revision (progname, revision); 230 print_revision (progname, NP_VERSION);
235 exit (STATE_OK); 231 exit (STATE_OK);
236 case 'h': /* help */ 232 case 'h': /* help */
237 print_help (); 233 print_help ();
@@ -286,7 +282,7 @@ print_help (void)
286 char *myport; 282 char *myport;
287 asprintf (&myport, "%d", MYSQL_PORT); 283 asprintf (&myport, "%d", MYSQL_PORT);
288 284
289 print_revision (progname, revision); 285 print_revision (progname, NP_VERSION);
290 286
291 printf (_(COPYRIGHT), copyright, email); 287 printf (_(COPYRIGHT), copyright, email);
292 288