[Nagiosplug-devel] suggestion/patch for check_ntp.pl
Sam Tilders
nagios-devel at jovianprojects.com.au
Wed Jan 8 20:45:03 CET 2003
Hi,
The attached patch is probably overkill. All it does is add the -n option to
the call to ntpdc in check_ntp.pl.
I've found the without the -n the time taken to look up the myriad of
hostnames in the result causes the plugin to time out.
It doesn't look to me that the script uses the names returned from ntpdc
so the time spent looking them up is probably better left out.
Cheers.
--
-- Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_ntp_pl-add-n.patch
Type: text/x-diff
Size: 675 bytes
Desc: not available
URL: <http://nagios-plugins.org/archive/devel/attachments/20030108/c24060bd/attachment.patch>
More information about the Devel
mailing list