so I would disable the built-in NTP test and replace it with this ntpd test?
Looking through the code, it appears to handle these in a blocking mode as
well, waiting for a reply before going to the next one.
I would think a non-blocking design would be faster. Not sure this would fix
the problem, or just hide it by putting it in an external script that could
take more than 5 minutes.
Stewart
2010/5/22 Alex <user-bd67b1e4c445@xymon.invalid>
Try this script:
http://www.bakarasse.de/pages/en/xymon-monitoring/server-side-plugins/ntpd.sh.php
Is there any way to speed up the NTP tests? My run is taking longer than
300 seconds. 229 of that is NTP.
Error output:
WARNING: Runtime 322 longer than time limit (300)
TIME SPENT
Event Starttime
Duration
bbtest-net startup 1274487671.562962
• Service definitions loaded 1274487671.564364
0.001402
Tests loaded, hostname lookups done 1274487671.786542
0.222178
Test engine setup completed 1274487671.792157
0.005615
TCP tests completed 1274487681.995479
10.203322
PING test completed (1220 hosts) 1274487728.186588
46.191109
PING test results sent 1274487728.203649
0.017061
Test result collection completed 1274487728.203792
0.000143
LDAP test engine setup completed 1274487728.203793
0.000001
LDAP tests executed 1274487728.203795
0.000002
LDAP tests result collection completed 1274487728.203796
0.000001
DNS tests executed 1274487763.561146
35.357350
NTP tests executed 1274487993.128128
229.566982
Test results transmitted 1274487993.184690
0.056562
bbtest-net completed 1274487993.186144
0.001454
TIME TOTAL
321.623182
--
Stewart
--
An infinite number of mathematicians walk into a bar. The first one orders
a beer. The second orders half a beer. The third, a quarter of a beer. The
bartender says "You're all idiots", and pours two beers.
--
Stewart
--
An infinite number of mathematicians walk into a bar. The first one orders a
beer. The second orders half a beer. The third, a quarter of a beer. The
bartender says "You're all idiots", and pours two beers.