diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_http.c | 10 | ||||
-rw-r--r-- | plugins/sslutils.c | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index baff682a..8e0c15ec 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -1724,6 +1724,16 @@ print_help (void) | |||
1724 | printf ("%s\n", _("strings and regular expressions, check connection times, and report on")); | 1724 | printf ("%s\n", _("strings and regular expressions, check connection times, and report on")); |
1725 | printf ("%s\n", _("certificate expiration times.")); | 1725 | printf ("%s\n", _("certificate expiration times.")); |
1726 | 1726 | ||
1727 | printf ("\n"); | ||
1728 | printf ("%s\n", _("ATTENTION!")); | ||
1729 | printf ("\n"); | ||
1730 | printf ("%s\n", _("THIS PLUGIN IS DEPRECATED. The functionality was reimplemented by the")); | ||
1731 | printf ("%s\n", _("check_curl plugin, which can be used as a drop-in replacement. You should")); | ||
1732 | printf ("%s\n", _("migrate your checks over to check_curl, because check_http is going to be")); | ||
1733 | printf ("%s\n", _("removed sooner than later. Just replace check_http with check_curl in your")); | ||
1734 | printf ("%s\n", _("check command definitions.")); | ||
1735 | printf ("%s\n", _("Report issues to: https://github.com/monitoring-plugins/monitoring-plugins/issues")); | ||
1736 | |||
1727 | printf ("\n\n"); | 1737 | printf ("\n\n"); |
1728 | 1738 | ||
1729 | print_usage (); | 1739 | print_usage (); |
diff --git a/plugins/sslutils.c b/plugins/sslutils.c index 719de575..96740b3a 100644 --- a/plugins/sslutils.c +++ b/plugins/sslutils.c | |||
@@ -201,7 +201,7 @@ int np_net_ssl_check_certificate(X509 *certificate, int days_till_exp_warn, int | |||
201 | time_t tm_t; | 201 | time_t tm_t; |
202 | 202 | ||
203 | if (!certificate) { | 203 | if (!certificate) { |
204 | printf("%s\n", _("CRITICAL - Cannot retrieve server certificate.")); | 204 | printf("%s\n", _("CRITICAL - No server certificate present to inspect.")); |
205 | return STATE_CRITICAL; | 205 | return STATE_CRITICAL; |
206 | } | 206 | } |
207 | 207 | ||