From 98f49f9ee9446f15d4da98f9ea06778ac8a5e388 Mon Sep 17 00:00:00 2001 From: Marius Pana Date: Mon, 27 Jun 2016 17:39:03 +0300 Subject: [PATCH] silly spaces (fixed typos in perfdata) --- check_extended_dns.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check_extended_dns.py b/check_extended_dns.py index 7797397..5694293 100755 --- a/check_extended_dns.py +++ b/check_extended_dns.py @@ -37,12 +37,12 @@ nscount = list(itertools.chain.from_iterable(whoiscount)) #print len(nscount) if len(nscount) < nsargscount: - print "Extended_DNS_Check nscount=" + str(nsargscount) + "|whoiscount=" + str(len(nscount)) + "| CRITICAL - WHOIS DNS servers do not match provided DNS nameservers." + print "Extended_DNS_Check nscount="+str(nsargscount)+"|whoiscount="+str(len(nscount))+" CRITICAL - WHOIS DNS servers do not match provided DNS nameservers." sys.exit(2) elif len(nscount) > nsargscount: - print "Extended_DNS_Check nscount=" + str(nsargscount) + "| whoiscount=" + str(len(nscount)) + "| WARNING - WHOIS DNS servers do not match. \ + print "Extended_DNS_Check nscount="+str(nsargscount)+"|whoiscount="+ str(len(nscount))+" WARNING - WHOIS DNS servers do not match. \ There are more DNS servers from the WHOIS datbase than in your query." sys.exit(1) else: - print("0 Extended_DNS_Check nscount=" + str(nsargscount) + "| whoiscount=" + str(len(nscount)) + "| OK - all DNS server match") + print("0 Extended_DNS_Check nscount="+str(nsargscount)+"|whoiscount="+str(len(nscount))+" OK - all DNS server match") sys.exit(0)