Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check DNS Serial
Current Version
1.0.1
Last Release Date
2019-07-15
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
Owner
Twitter Handle
@stearz
License
MIT
Hits
3127
This check plugin allows you to check if all nameservers that host a DNS zone are up-to-date and deliver the same serial in the SOA-record of the zone.
The script is written in PHP and requires Net/DNS2.php (PHP Resolver library used to communicate with a DNS server). Install it with sudo apt-get install php-net-dns2 on Debian based systems.
Usage:
check-dns-serial.php
Variables:
The following threshold variables can be set inside the script to control when Nagios should raise a WARNING or a CRITICAL:
# WARNING threshold if serials differ
$warn_threshold_delta = 5;
# CRITICAL threshold if serials differ
$crit_threshold_delta = 10;
The script is written in PHP and requires Net/DNS2.php (PHP Resolver library used to communicate with a DNS server). Install it with sudo apt-get install php-net-dns2 on Debian based systems.
Usage:
check-dns-serial.php
Variables:
The following threshold variables can be set inside the script to control when Nagios should raise a WARNING or a CRITICAL:
# WARNING threshold if serials differ
$warn_threshold_delta = 5;
# CRITICAL threshold if serials differ
$crit_threshold_delta = 10;
Reviews (0)
Be the first to review this listing!