Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-check_dns_zone
> nagios-plugins-check_dns_zone.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins-check_dns_zone.spec of Package nagios-plugins-check_dns_zone
Name: nagios-plugins-check_dns_zone Summary: Checks DNS Zone between master and slave Version: 0.1 Release: 1 Url: https://blog.kumina.nl/2011/04/monitoring-dns-server-synchronicity/ Source0: check_dns_zone.py Group: System/Monitoring License: GPLv3 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: python-dnspython BuildRequires: python-argparse BuildRequires: python-ipaddr Requires: python-dnspython Requires: python-argparse Requires: python-ipaddr %description This script checks the "zone" on two nameservers("master" and "slave") by querying both namerservers for the SOA record of that zone. It then extracts the serialnumber from the record and compares them. %prep %setup -T -c %build %install %__install -D -m0755 %{S:0} %{buildroot}%{_prefix}/lib/nagios/plugins/check_dns_zone %clean rm -rf %{buildroot} %files %defattr(-,root,root) %dir %{_prefix}/lib/nagios %dir %{_prefix}/lib/nagios/plugins %{_prefix}/lib/nagios/plugins/check_dns_zone %changelog