<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Why would NTP be alarming critical if the offset is less than 60
seconds? default is 60 right? is my syntax incorrect?<br>
<br>
Thanks,<br>
Spencer<br>
<br>
<br>
# 'check_nntp' command definition<br>
define command{<br>
        command_name    check_nntp<br>
        command_line    /usr/local/nagios/libexec/check_nntp
$HOSTADDRESS$<br>
        }<br>
<br>
<table class="status" border="0" width="100%">
  <tbody>
    <tr>
      <td class="statusEven">
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tbody>
          <tr>
            <td align="left">
            <table border="0" cellpadding="0" cellspacing="0">
              <tbody>
                <tr>
                  <td class="statusEven" align="left" valign="center"><a
 href="http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=1&host=raptor">raptor</a></td>
                </tr>
              </tbody>
            </table>
            </td>
            <td align="right" valign="center">
            <table border="0" cellpadding="0" cellspacing="0">
              <tbody>
                <tr>
                  <td align="center" valign="center"><a
 href="http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=1&host=raptor#comments"
 title="This host has 1 comment associated with it"><img
 src="cid:part1.07070809.04040302@lssi.net"
 alt="This host has 1 comment associated with it" border="0" height="20"
 width="20"></a></td>
                  <td align="center" valign="center"><a
 href="http://nagios/nagios/cgi-bin/utilmenu.cgi?HOST=RAPTOR&HOSTGROUP=LINUX"
 title="Open Utility Menu for this Host" target="utils"
 onclick='javascript:window.open("http://nagios/nagios/cgi-bin/utilmenu.cgi?HOST=RAPTOR&HOSTGROUP=LINUX","utils","width=300,height=150,toolbar=0,location=0,status=0,resizable=1,scrollbars=1")'><img
 src="cid:part2.09010905.04060704@lssi.net"
 alt="Open Utility Menu for this Host" border="0" height="20" width="20"></a></td>
                  <td><br>
                  </td>
                </tr>
              </tbody>
            </table>
            </td>
          </tr>
        </tbody>
      </table>
      </td>
      <td class="statusBGCRITICALACK">
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tbody>
          <tr>
            <td align="left">
            <table border="0" cellpadding="0" cellspacing="0">
              <tbody>
                <tr>
                  <td class="statusBGCRITICALACK" align="left"
 valign="center"><a
 href="http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=2&host=raptor&service=NTP">NTP</a></td>
                </tr>
              </tbody>
            </table>
            </td>
            <td class="statusBGCRITICALACK" align="right">
            <table border="0" cellpadding="0" cellspacing="0">
              <tbody>
                <tr>
                  <td align="center" valign="center"><a
 href="http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=2&host=raptor&service=NTP#comments"
 title="This service has 3 comments associated with it"><img
 src="cid:part1.07070809.04040302@lssi.net"
 alt="This service has 3 comments associated with it" border="0"
 height="20" width="20"></a></td>
                  <td align="center" valign="center"><a
 href="http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=2&host=raptor&service=NTP#comments"
 title="This service problem has been acknowledged"><img
 src="cid:part4.05000309.08070608@lssi.net"
 alt="This service problem has been acknowledged" border="0" height="20"
 width="20"></a></td>
                </tr>
              </tbody>
            </table>
            </td>
          </tr>
        </tbody>
      </table>
      </td>
      <td class="statusCRITICAL">CRITICAL</td>
      <td class="statusBGCRITICALACK" nowrap="nowrap">06-14-2004
12:25:28</td>
      <td class="statusBGCRITICALACK" nowrap="nowrap">17d 3h 9m 6s</td>
      <td class="statusBGCRITICALACK">1/1</td>
      <td class="statusBGCRITICALACK">server 208.62.207.124, stratum 0,
offset 0.000000, delay 0.00000 </td>
    </tr>
  </tbody>
</table>
<br>
[nagios@nagiosr0 libexec]$./check_ntp<br>
No target host specified<br>
Usage: check_ntp -H <host> [-w <warn>] [-c <crit>]
[-v verbose]<br>
[nagios@nagiosr0 libexec]$./check_ntp --help<br>
check_ntp (nagios-plugins 1.3.0-beta2) 1.9<br>
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may
redistribute<br>
copies of the plugins under the terms of the GNU General Public License.<br>
For more information about these matters, see the file named COPYING.<br>
Copyright (c) 2000 Bo Kersey/Karl DeBisschop<br>
<br>
Usage: check_ntp -H <host> [-w <warn>] [-c <crit>]
[-v verbose]<br>
<br>
<warn> = Clock offset in seconds at which a warning message will
be generated.<br>
        Defaults to 60.<br>
<crit> = Clock offset in seconds at which a critical message will
be generated.<br>
        Defaults to 120.<br>
<br>
The same warning and critical values are used to check against the
dispersion <br>
column of ntpdc/xntpdc for the host being queried.<br>
<br>
Send email to <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a> if you have questions<br>
regarding use of this software. To submit patches or suggest
improvements,<br>
send email to <a class="moz-txt-link-abbreviated" href="mailto:nagiosplug-devel@lists.sourceforge.net">nagiosplug-devel@lists.sourceforge.net</a><br>
<br>
<br>
</body>
</html>