summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Nierlein <Sven.Nierlein@consol.de>2014-07-31 12:13:27 +0200
committerSven Nierlein <Sven.Nierlein@consol.de>2014-07-31 12:13:52 +0200
commit18a9562daecd844d62da5cad1ddcab3f9d0eca57 (patch)
treea714972ce139792a4dac282f27b971b86e94fa64
parentd832030e38f75e118ea519c08b5d3b491068b95d (diff)
downloadmonitoring-plugins-18a9562daecd844d62da5cad1ddcab3f9d0eca57.tar.gz
check_dns: unified check output
this also allows us to make tests against "critical" in the output. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
-rw-r--r--plugins/check_dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index d7f7346f..22121226 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -154,7 +154,7 @@ main (int argc, char **argv)
154 } 154 }
155 155
156 if (strcmp(temp_buffer, dns_server) != 0) { 156 if (strcmp(temp_buffer, dns_server) != 0) {
157 die (STATE_CRITICAL, _("No response from DNS %s\n"), dns_server); 157 die (STATE_CRITICAL, _("DNS CRITICAL - No response from DNS %s\n"), dns_server);
158 } 158 }
159 } 159 }
160 160