diff options
author | Sven Nierlein <Sven.Nierlein@consol.de> | 2014-07-31 12:13:27 +0200 |
---|---|---|
committer | Sven Nierlein <Sven.Nierlein@consol.de> | 2014-07-31 12:13:52 +0200 |
commit | 18a9562daecd844d62da5cad1ddcab3f9d0eca57 (patch) | |
tree | a714972ce139792a4dac282f27b971b86e94fa64 /plugins/check_dns.c | |
parent | d832030e38f75e118ea519c08b5d3b491068b95d (diff) | |
download | monitoring-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.c | 2 |
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 | ||