Module: monitoring-plugins
 Branch: master
 Commit: 18a9562daecd844d62da5cad1ddcab3f9d0eca57
 Author: Sven Nierlein <sven.nierl...@consol.de>
   Date: Thu Jul 31 12:13:27 2014 +0200
    URL: 
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=18a9562

check_dns: unified check output

this also allows us to make tests against "critical" in the output.

Signed-off-by: Sven Nierlein <sven.nierl...@consol.de>

---

 plugins/check_dns.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index d7f7346..2212122 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -154,7 +154,7 @@ main (int argc, char **argv)
       }
 
       if (strcmp(temp_buffer, dns_server) != 0) {
-        die (STATE_CRITICAL, _("No response from DNS %s\n"), dns_server);
+        die (STATE_CRITICAL, _("DNS CRITICAL - No response from DNS %s\n"), 
dns_server);
       }
     }
 

Reply via email to