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
1.0.1
2019-07-15
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
@stearz
MIT
4635
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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!