[Nagiosplug-devel] check_ntp patch
Subhendu Ghosh
sghosh at sghosh.org
Fri Jun 7 17:35:02 CEST 2002
Thanks - patch is in.
-sg
On Fri, 7 Jun 2002, John Koyle wrote:
> The latest version in CVS needs this simple patch:
>
> [root at shire plugins]# diff -uNr check_ntp.orig check_ntp
> --- check_ntp.orig Fri Jun 7 16:02:01 2002
> +++ check_ntp Fri Jun 7 16:02:34 2002
> @@ -112,6 +112,7 @@
>
> my $answer = undef;
> my $offset = undef;
> +my $have_ntpdc = undef;
> my $msg; # first line of output to print if format is invalid
>
> my $state = $ERRORS{'UNKNOWN'};
> @@ -121,9 +122,9 @@
> my $key = undef;
> # some systems don't have a proper ntpdc/xntpdc
> if ($utils::PATH_TO_NTPDC && -x $utils::PATH_TO_NTPDC ) {
> - my $have_ntpdc = 1;
> + $have_ntpdc = 1;
> }else{
> - my $have_ntpdc = 0;
> + $have_ntpdc = 0;
> }
>
> # Just in case of problems, let's not hang Nagios
>
>
> Thanks,
> John
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>
More information about the Devel
mailing list