Skip to content

YMKatz/nagios_check_dns_cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check_dns_cloudflare for Nagios

This tool checks CloudFlare DNS entries using the CloudFlare API and then checks that the DNS record resolves to known CloudFlare IPs (as determined by CloudFlare's official list).

This tools uses a cache directory located at one of the following locations (in order):

  • NAGIOS_PLUGIN_STATE_DIRECTORY envvar
  • /usr/local/nagios/var, if it exists
  • $TEMP

Cache implementation is loosely based on Nagios-Plugins state retention.