Re: check the master/slave status

2011-01-09 Thread pyh
I wrote a nagios plugin for monitoring the status of master/slave DNS. Just to check if their serial number is the same. The script shows below,thanks for all your directions. #!/usr/bin/perl use strict; use Net::DNS; use Getopt::Std; my %opts; getopts('hm:s:z:', \%opts); if ($opts{'h'}) {

Re: check the master/slave status

2011-01-09 Thread pyh
p...@mail.nsbeta.info writes: I wrote a nagios plugin for monitoring the status of master/slave DNS. Just to check if their serial number is the same. The script shows below,thanks for all your directions. #!/usr/bin/perl use strict; use Net::DNS; use Getopt::Std; my %opts;