aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <Sven.Nierlein@consol.de> 2014-07-31 12:13:27 +0200
committerGravatar Sven Nierlein <Sven.Nierlein@consol.de> 2014-07-31 12:13:52 +0200
commit18a9562daecd844d62da5cad1ddcab3f9d0eca57 (patch)
treea714972ce139792a4dac282f27b971b86e94fa64 /plugins/check_dns.c
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>
Diffstat (limited to 'plugins/check_dns.c')
-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)
}
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);
}
}