Просмотр исходного кода

check_http: help text update for virtual hosts

Fix for issue #137
John C. Frickson 9 лет назад
Родитель
Сommit
dbfc36e4ac
4 измененных файлов с 10 добавлено и 0 удалено
  1. 1 0
      NEWS
  2. 1 0
      plugins/check_http.c
  3. 4 0
      po/de.po
  4. 4 0
      po/fr.po

+ 1 - 0
NEWS

@@ -12,6 +12,7 @@ This file documents the major additions and syntax changes between releases.
 	check_dns: Segfaulting with timeout > 26 sec
 	check_disk: missing -lrt on Solaris
 	check_http: segmentation fault
+	check_http: help text update for virtual hosts
 
 
 2.1.4 2016-11-17

+ 1 - 0
plugins/check_http.c

@@ -1728,6 +1728,7 @@ print_help (void)
   printf (" %s\n", _("messages from the host result in STATE_WARNING return values.  If you are"));
   printf (" %s\n", _("checking a virtual server that uses 'host headers' you must supply the FQDN"));
   printf (" %s\n", _("(fully qualified domain name) as the [host_name] argument."));
+  printf (" %s\n", _("You may also need to give a FQDN or IP address using -I (or --IP-Address)."));
 
 #ifdef HAVE_SSL
   printf ("\n");

+ 4 - 0
po/de.po

@@ -1484,6 +1484,10 @@ msgstr ""
 msgid "(fully qualified domain name) as the [host_name] argument."
 msgstr ""
 
+#: plugins/check_http.c:1408
+msgid ""You may also need to give a FQDN or IP address using -I (or --IP-Address)."
+msgstr ""
+
 #: plugins/check_http.c:1411
 msgid "This plugin can also check whether an SSL enabled web server is able to"
 msgstr ""

+ 4 - 0
po/fr.po

@@ -1525,6 +1525,10 @@ msgstr ""
 msgid "(fully qualified domain name) as the [host_name] argument."
 msgstr ""
 
+#: plugins/check_http.c:1408
+msgid ""You may also need to give a FQDN or IP address using -I (or --IP-Address)."
+msgstr ""
+
 #: plugins/check_http.c:1411
 msgid "This plugin can also check whether an SSL enabled web server is able to"
 msgstr ""