[Nagiosplug-devel] check_ping error in FreeBSD
Павел Тимофеев
mox87 at mail.ru
Thu Feb 4 11:43:58 CET 2010
Hello folks!
I wrote about this problem earlier (http://article.gmane.org/gmane.network.nagios.plugins.devel/6176)
Now it still is present.
Please, use this patch
--- check_ping.c Thu Feb 4 13:32:11 2010
+++ /usr/home/ptimofeev/check_ping_my.c Thu Feb 4 13:31:23 2010
@@ -537,6 +537,8 @@
die (STATE_CRITICAL, _("CRITICAL - Host not found (%s)"), addr);
else if (strstr (buf, "Time to live exceeded"))
die (STATE_CRITICAL, _("CRITICAL - Time to live exceeded (%s)"), addr);
+ else if (strstr (buf, "Host is down"))
+ die (STATE_CRITICAL, _("CRITICAL - Host is down (%s)"), addr);
if (strstr (buf, "(DUP!)") || strstr (buf, "DUPLICATES FOUND")) {
if (warn_text == NULL)
This is FreeBSD specified problem.
More information about the Devel
mailing list