From 18a9562daecd844d62da5cad1ddcab3f9d0eca57 Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Thu, 31 Jul 2014 12:13:27 +0200 Subject: check_dns: unified check output this also allows us to make tests against "critical" in the output. Signed-off-by: Sven Nierlein 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); } } -- cgit v0.10-9-g596f