diff options
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index cdf768c9..8e0c15ec 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * Monitoring check_http plugin | 3 | * Monitoring check_http plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2013 Monitoring Plugins Development Team | 6 | * Copyright (c) 1999-2024 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -32,7 +32,7 @@ | |||
32 | *****************************************************************************/ | 32 | *****************************************************************************/ |
33 | 33 | ||
34 | const char *progname = "check_http"; | 34 | const char *progname = "check_http"; |
35 | const char *copyright = "1999-2022"; | 35 | const char *copyright = "1999-2024"; |
36 | const char *email = "devel@monitoring-plugins.org"; | 36 | const char *email = "devel@monitoring-plugins.org"; |
37 | 37 | ||
38 | // Do NOT sort those headers, it will break the build | 38 | // Do NOT sort those headers, it will break the build |
@@ -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 (); |
@@ -1805,7 +1815,7 @@ print_help (void) | |||
1805 | printf (" %s\n", "--invert-regex"); | 1815 | printf (" %s\n", "--invert-regex"); |
1806 | printf (" %s\n", _("Return STATE if found, OK if not (STATE is CRITICAL, per default)")); | 1816 | printf (" %s\n", _("Return STATE if found, OK if not (STATE is CRITICAL, per default)")); |
1807 | printf (" %s\n", _("can be changed with --state--regex)")); | 1817 | printf (" %s\n", _("can be changed with --state--regex)")); |
1808 | printf (" %s\n", "--regex-state=STATE"); | 1818 | printf (" %s\n", "--state-regex=STATE"); |
1809 | printf (" %s\n", _("Return STATE if regex is found, OK if not\n")); | 1819 | printf (" %s\n", _("Return STATE if regex is found, OK if not\n")); |
1810 | 1820 | ||
1811 | printf (" %s\n", "-a, --authorization=AUTH_PAIR"); | 1821 | printf (" %s\n", "-a, --authorization=AUTH_PAIR"); |