Browse Source

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>
Sven Nierlein 12 năm trước cách đây
mục cha
commit
18a9562dae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      plugins/check_dns.c

+ 1 - 1
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);
       }
     }