Skip to content

marsteel/monitorFQDN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

monitorFQDN

Monitor FQDN change, compare with local baseline, send email alert when there is change.

  1. Create local baseline FQDN resolve record in working directory manually or use monitorFQDN_baseline_creator.sh

dig +answer host1.example.com +short | tail -n4 > host1.example.com.txt

dig +answer host2.example.com +short | tail -n4 > host2.example.com.txt

dig +answer host3.example.com +short | tail -n4 > host3.example.com.txt

  1. Create crontab entry

Monitor FQDN change every 2min

*/2 * * * * /root/scripts/monitorFQDN/monitorFQDN.sh

About

Monitor FQDN change and send email notification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages