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
4594
Nagios CSP

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.
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;