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, 4 insertions, 4 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index e66eeaff..b5b9ff81 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"));