DNS

check_dns_rrsig

Description:

This checks to make sure the nameserver (-H) has RRSIG records for the zone specified with more than WARNING or CRITICAL days before expiration.

Current Version

Last Release Date

February 18, 2010

Compatible With


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!
Project Files
Project Notes
NAME check_dns_rrsig.pl - Verify RRSIG expiration for a zone. SYNOPSIS check_dns_rrsig.pl -H host -z zone [ options ] host: The server to query zone: The DNS zone to monitor. OPTIONS -z|--zone zone The DNS zone to monitor. -H|--host host The nameserver to query. -t timeout Specify the plugin timeout. Defaults to 15 seconds. -c|--critical critical threshold in days Specify the number of days remaining before raising a critical alert. Defaults to 14 days. -w|--warning warning threshold in days Specify the number of days remaining before raising warning alert. Defaults to 3 days. -V|--version Print the version number and exit -v|verbose Increase verbosity. DESCRIPTION This checks to make sure the nameserver (-H) has RRSIG records for the zone specified with more than WARNING or CRITICAL days before expiration. AUTHOR Copyright (c) 2010 Chan Wilson
Reviews (1) Add a Review
Useful plugin
by kpiti, September 30, 2015
Just the thing I needed not to be left without a valid signed zone. The issue I had (and spent some hours on it) was that while it was working perfectly from the command line, nagios kept complaining:
Warning: Check of service 'DNSSECexpire' on host xy did not exit properly

And the reason/cure is that the embedded perl finds an error - Variable "%opts" will not stay shared..
The solution is to explicitly turn off EPN by inserting in first 10 lines
# nagios: -epn

Works great since..
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
0
Views
153,438