summaryrefslogtreecommitdiffstats
path: root/plugins/check_pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_pgsql.c')
-rw-r--r--plugins/check_pgsql.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index 869ef67..abe721b 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -5,8 +5,6 @@
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2007 Nagios Plugins Development Team 6* Copyright (c) 1999-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$
9*
10* Description: 8* Description:
11* 9*
12* This file contains the check_pgsql plugin 10* This file contains the check_pgsql plugin
@@ -27,12 +25,10 @@
27* You should have received a copy of the GNU General Public License 25* You should have received a copy of the GNU General Public License
28* along with this program. If not, see <http://www.gnu.org/licenses/>. 26* along with this program. If not, see <http://www.gnu.org/licenses/>.
29* 27*
30* $Id$
31* 28*
32*****************************************************************************/ 29*****************************************************************************/
33 30
34const char *progname = "check_pgsql"; 31const char *progname = "check_pgsql";
35const char *revision = "$Revision$";
36const char *copyright = "1999-2007"; 32const char *copyright = "1999-2007";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const char *email = "nagiosplug-devel@lists.sourceforge.net";
38 34
@@ -231,7 +227,7 @@ process_arguments (int argc, char **argv)
231 print_help (); 227 print_help ();
232 exit (STATE_OK); 228 exit (STATE_OK);
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 't': /* timeout period */ 232 case 't': /* timeout period */
237 if (!is_integer (optarg)) 233 if (!is_integer (optarg))
@@ -404,7 +400,7 @@ print_help (void)
404 400
405 asprintf (&myport, "%d", DEFAULT_PORT); 401 asprintf (&myport, "%d", DEFAULT_PORT);
406 402
407 print_revision (progname, revision); 403 print_revision (progname, NP_VERSION);
408 404
409 printf (COPYRIGHT, copyright, email); 405 printf (COPYRIGHT, copyright, email);
410 406