diff options
Diffstat (limited to 'plugins/check_pgsql.c')
| -rw-r--r-- | plugins/check_pgsql.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 324bd5f4..9bad1ec5 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | /***************************************************************************** | 1 | /***************************************************************************** |
| 2 | * | 2 | * |
| 3 | * Nagios check_pgsql plugin | 3 | * Monitoring check_pgsql plugin |
| 4 | * | 4 | * |
| 5 | * License: GPL | 5 | * License: GPL |
| 6 | * Copyright (c) 1999-2011 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2011 Monitoring Plugins Development Team |
| 7 | * | 7 | * |
| 8 | * Description: | 8 | * Description: |
| 9 | * | 9 | * |
| @@ -30,7 +30,7 @@ | |||
| 30 | 30 | ||
| 31 | const char *progname = "check_pgsql"; | 31 | const char *progname = "check_pgsql"; |
| 32 | const char *copyright = "1999-2011"; | 32 | const char *copyright = "1999-2011"; |
| 33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
| 34 | 34 | ||
| 35 | #include "common.h" | 35 | #include "common.h" |
| 36 | #include "utils.h" | 36 | #include "utils.h" |
| @@ -514,7 +514,7 @@ print_help (void) | |||
| 514 | 514 | ||
| 515 | printf (" %s\n", "-d, --database=STRING"); | 515 | printf (" %s\n", "-d, --database=STRING"); |
| 516 | printf (" %s", _("Database to check ")); | 516 | printf (" %s", _("Database to check ")); |
| 517 | printf (_("(default: %s)"), DEFAULT_DB); | 517 | printf (_("(default: %s)\n"), DEFAULT_DB); |
| 518 | printf (" %s\n", "-l, --logname = STRING"); | 518 | printf (" %s\n", "-l, --logname = STRING"); |
| 519 | printf (" %s\n", _("Login name of user")); | 519 | printf (" %s\n", _("Login name of user")); |
| 520 | printf (" %s\n", "-p, --password = STRING"); | 520 | printf (" %s\n", "-p, --password = STRING"); |
| @@ -524,7 +524,7 @@ print_help (void) | |||
| 524 | 524 | ||
| 525 | printf (UT_WARN_CRIT); | 525 | printf (UT_WARN_CRIT); |
| 526 | 526 | ||
| 527 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 527 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
| 528 | 528 | ||
| 529 | printf (" %s\n", "-q, --query=STRING"); | 529 | printf (" %s\n", "-q, --query=STRING"); |
| 530 | printf (" %s\n", _("SQL query to run. Only first column in first row will be read")); | 530 | printf (" %s\n", _("SQL query to run. Only first column in first row will be read")); |
| @@ -563,7 +563,7 @@ print_help (void) | |||
| 563 | printf (" %s\n", _("connect to a remote host, be sure that the remote postmaster accepts TCP/IP")); | 563 | printf (" %s\n", _("connect to a remote host, be sure that the remote postmaster accepts TCP/IP")); |
| 564 | printf (" %s\n\n", _("connections (start the postmaster with the -i option).")); | 564 | printf (" %s\n\n", _("connections (start the postmaster with the -i option).")); |
| 565 | 565 | ||
| 566 | printf (" %s\n", _("Typically, the nagios user (unless the --logname option is used) should be")); | 566 | printf (" %s\n", _("Typically, the monitoring user (unless the --logname option is used) should be")); |
| 567 | printf (" %s\n", _("able to connect to the database without a password. The plugin can also send")); | 567 | printf (" %s\n", _("able to connect to the database without a password. The plugin can also send")); |
| 568 | printf (" %s\n", _("a password, but no effort is made to obsure or encrypt the password.")); | 568 | printf (" %s\n", _("a password, but no effort is made to obsure or encrypt the password.")); |
| 569 | 569 | ||
