Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check DNS Serial

Rating
0 votes
Favoured:
0
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
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.
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;