so I would disable the built-in NTP test and replace it with this ntpd test? <br><br>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.   <br>
<br>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. <br><br>Stewart<br><br><br><div class="gmail_quote">
2010/5/22 Alex <span dir="ltr"><<a href="mailto:alex@bakarasse.de">alex@bakarasse.de</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



  
  

<div bgcolor="#ffffff" text="#000000">
<br>
Try this script:<br>
<br>
<a href="http://www.bakarasse.de/pages/en/xymon-monitoring/server-side-plugins/ntpd.sh.php" target="_blank">http://www.bakarasse.de/pages/en/xymon-monitoring/server-side-plugins/ntpd.sh.php</a><div><div></div><div class="h5">
<br>
<br>
<blockquote type="cite">Is there any way to speed up the NTP tests?  My run is
taking longer than 300 seconds.  229 of that is NTP. <br>
  <br>
  <span style="font-family: courier new,monospace;">Error output:</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">WARNING: Runtime
322 longer than time limit (300)</span><br style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">TIME SPENT</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Event                                           
Starttime          Duration</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">bbtest-net
startup                       1274487671.562962                 -</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Service definitions
loaded               1274487671.564364          0.001402 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Tests loaded,
hostname lookups done      1274487671.786542          0.222178 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Test engine setup
completed              1274487671.792157          0.005615 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">TCP tests
completed                      1274487681.995479         10.203322 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">PING test completed
(1220 hosts)         1274487728.186588         46.191109 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">PING test results
sent                   1274487728.203649          0.017061 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Test result
collection completed         1274487728.203792          0.000143 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">LDAP test engine
setup completed         1274487728.203793          0.000001 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">LDAP tests
executed                      1274487728.203795          0.000002 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">LDAP tests result
collection completed   1274487728.203796          0.000001 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">DNS tests
executed                       1274487763.561146         35.357350 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">NTP tests
executed                       1274487993.128128        229.566982 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Test results
transmitted                 1274487993.184690          0.056562 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">bbtest-net
completed                     1274487993.186144          0.001454 </span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">TIME
TOTAL                                                        321.623182
  </span><br>
  <br clear="all">
  <br>
-- <br>
Stewart<br>
--<br>
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.<br>
  
</blockquote>
<br>
</div></div></div>

</blockquote></div><br><br clear="all"><br>-- <br>Stewart<br>--<br>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.<br>

<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>