summaryrefslogtreecommitdiffstats
path: root/plugins/check_pgsql.c
diff options
context:
space:
mode:
authorMatthew Kent <mattkent@users.sourceforge.net>2004-12-10 05:54:01 (GMT)
committerMatthew Kent <mattkent@users.sourceforge.net>2004-12-10 05:54:01 (GMT)
commite446a43f10518e8f6ce9c3c350a91fac0ba95f81 (patch)
treed3f128587dfce3dda9ff4603520c4ac5f6a7b279 /plugins/check_pgsql.c
parent9e796417d1e695cfe094d9b2ffcd3e85529144a5 (diff)
downloadmonitoring-plugins-e446a43f10518e8f6ce9c3c350a91fac0ba95f81.tar.gz
Fixing broken compile
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1021 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_pgsql.c')
-rw-r--r--plugins/check_pgsql.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index e66eeaf..b5b9ff8 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -403,7 +403,7 @@ print_help (void)
403 403
404 printf (_(UT_IPv46)); 404 printf (_(UT_IPv46));
405 405
406 printf (S_("\ 406 printf (_("\
407 -d, --database=STRING\n\ 407 -d, --database=STRING\n\
408 Database to check (default: %s)\n\ 408 Database to check (default: %s)\n\
409 -l, --logname = STRING\n\ 409 -l, --logname = STRING\n\
@@ -417,18 +417,18 @@ print_help (void)
417 417
418 printf (_(UT_VERBOSE)); 418 printf (_(UT_VERBOSE));
419 419
420 printf (S_("\nAll parameters are optional.\n\ 420 printf (_("\nAll parameters are optional.\n\
421\n\ 421\n\
422This plugin tests a PostgreSQL DBMS to determine whether it is active and\n\ 422This plugin tests a PostgreSQL DBMS to determine whether it is active and\n\
423accepting queries. In its current operation, it simply connects to the\n\ 423accepting queries. In its current operation, it simply connects to the\n\
424specified database, and then disconnects. If no database is specified, it\n\ 424specified database, and then disconnects. If no database is specified, it\n\
425connects to the template1 database, which is present in every functioning \n\ 425connects to the template1 database, which is present in every functioning \n\
426PostgreSQL DBMS.\n")); 426PostgreSQL DBMS.\n"));
427 printf (S_("\n\ 427 printf (_("\n\
428The plugin will connect to a local postmaster if no host is specified. To\n\ 428The plugin will connect to a local postmaster if no host is specified. To\n\
429connect to a remote host, be sure that the remote postmaster accepts TCP/IP\n\ 429connect to a remote host, be sure that the remote postmaster accepts TCP/IP\n\
430connections (start the postmaster with the -i option).\n")); 430connections (start the postmaster with the -i option).\n"));
431 printf (S_("\n\ 431 printf (_("\n\
432Typically, the nagios user (unless the --logname option is used) should be\n\ 432Typically, the nagios user (unless the --logname option is used) should be\n\
433able to connect to the database without a password. The plugin can also send\n\ 433able to connect to the database without a password. The plugin can also send\n\
434a password, but no effort is made to obsure or encrypt the password.\n")); 434a password, but no effort is made to obsure or encrypt the password.\n"));