diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_pgsql.c | 8 |
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\ |
422 | This plugin tests a PostgreSQL DBMS to determine whether it is active and\n\ | 422 | This plugin tests a PostgreSQL DBMS to determine whether it is active and\n\ |
423 | accepting queries. In its current operation, it simply connects to the\n\ | 423 | accepting queries. In its current operation, it simply connects to the\n\ |
424 | specified database, and then disconnects. If no database is specified, it\n\ | 424 | specified database, and then disconnects. If no database is specified, it\n\ |
425 | connects to the template1 database, which is present in every functioning \n\ | 425 | connects to the template1 database, which is present in every functioning \n\ |
426 | PostgreSQL DBMS.\n")); | 426 | PostgreSQL DBMS.\n")); |
427 | printf (S_("\n\ | 427 | printf (_("\n\ |
428 | The plugin will connect to a local postmaster if no host is specified. To\n\ | 428 | The plugin will connect to a local postmaster if no host is specified. To\n\ |
429 | connect to a remote host, be sure that the remote postmaster accepts TCP/IP\n\ | 429 | connect to a remote host, be sure that the remote postmaster accepts TCP/IP\n\ |
430 | connections (start the postmaster with the -i option).\n")); | 430 | connections (start the postmaster with the -i option).\n")); |
431 | printf (S_("\n\ | 431 | printf (_("\n\ |
432 | Typically, the nagios user (unless the --logname option is used) should be\n\ | 432 | Typically, the nagios user (unless the --logname option is used) should be\n\ |
433 | able to connect to the database without a password. The plugin can also send\n\ | 433 | able to connect to the database without a password. The plugin can also send\n\ |
434 | a password, but no effort is made to obsure or encrypt the password.\n")); | 434 | a password, but no effort is made to obsure or encrypt the password.\n")); |