[Nagiosplug-checkins] CVS: nagiosplug/contrib check_dns_random.pl,1.1.1.1,1.2
Ton Voon
tonvoon at users.sourceforge.net
Tue Jan 28 21:28:02 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug/contrib
In directory sc8-pr-cvs1:/tmp/cvs-serv10483
Modified Files:
check_dns_random.pl
Log Message:
Exit code added (604837 - Lachlan Cameron-Smith)
Index: check_dns_random.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/contrib/check_dns_random.pl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** check_dns_random.pl 28 Feb 2002 06:42:53 -0000 1.1.1.1
--- check_dns_random.pl 29 Jan 2003 05:27:20 -0000 1.2
***************
*** 56,62 ****
($z,$y) = split(/\./,$x);
! print `$check $data[$z] $host`;
!
!
sub usage
--- 56,61 ----
($z,$y) = split(/\./,$x);
! system($check, $data[$z], $host);
! exit ($? / 256);
sub usage
More information about the Commits
mailing list