silly spaces (fixed typos in perfdata)
This commit is contained in:
		
							parent
							
								
									e3b6f80fac
								
							
						
					
					
						commit
						98f49f9ee9
					
				| @ -37,12 +37,12 @@ nscount = list(itertools.chain.from_iterable(whoiscount)) | |||||||
| #print len(nscount) | #print len(nscount) | ||||||
| 
 | 
 | ||||||
| if len(nscount) < nsargscount: | 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) |     sys.exit(2) | ||||||
| elif len(nscount) > nsargscount: | 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." |     There are more DNS servers from the WHOIS datbase than in your query." | ||||||
|     sys.exit(1) |     sys.exit(1) | ||||||
| else: | 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) |     sys.exit(0) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user