Skip to content

rbroemeling/check_whois

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

== Single check usage ==
usage: ./check_whois [-xdi] [-s str] [-f path] domain
        -d      Debugging
        -x      Don't complain if Registrar cannot be determined.
        -s str  Require that the string 'str' appear in the whois output
        -f path Provide path to text file of WHOIS data, no WHOIS check will be made
	-i 	Ignore whois results with no expiration timestamp (e.g. .ro TLD)


define command {
 command_name    check-whois
 command_line    /path/to/check_whois $HOSTADDRESS$
}

define service {
 name                   whois-service
 check_command          check-whois
 ...
}

define host {
 use dns-zone
 host_name zone.example.com
 alias ZONE example.com
}

define service {
 use whois-service
 host_name zone.example.com
}

== Directory of WHOIS data usage ==
./check_whois_dir /path/to/whois/data /path/to/check_whois





About

Nagios check for domain expiration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 97.2%
  • Shell 2.8%