check_ntp

Spencer Horn shorn at lssi.net
Mon Jun 14 19:09:58 CEST 2004


this one not the other sorry.

# 'check_ntp' command definition
define command{
        command_name    check_ntp
        command_line    /usr/local/nagios/libexec/check_ntp -H 
$HOSTADDRESS$ -v
        }


Spencer Horn wrote:

> Why would NTP be alarming critical if the offset is less than 60 
> seconds? default is 60 right? is my syntax incorrect?
>
> Thanks,
> Spencer
>
>
> # 'check_nntp' command definition
> define command{
>         command_name    check_nntp
>         command_line    /usr/local/nagios/libexec/check_nntp $HOSTADDRESS$
>         }
>
> raptor <http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=1&host=raptor>
>
> 	
> <http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=1&host=raptor#comments> 
> 	<http://nagios/nagios/cgi-bin/utilmenu.cgi?HOST=RAPTOR&HOSTGROUP=LINUX> 	
>
> 	
> NTP 
> <http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=2&host=raptor&service=NTP> 
>
>
> 	
> <http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=2&host=raptor&service=NTP#comments> 
> 	<http://nagiosr0/nagios/cgi-bin/extinfo.cgi?type=2&host=raptor&service=NTP#comments> 
>
>
> 	CRITICAL 	06-14-2004 12:25:28 	17d 3h 9m 6s 	1/1 	server 
> 208.62.207.124, stratum 0, offset 0.000000, delay 0.00000 
>
>
> [nagios at nagiosr0 libexec]$./check_ntp
> No target host specified
> Usage: check_ntp -H <host> [-w <warn>] [-c <crit>] [-v verbose]
> [nagios at nagiosr0 libexec]$./check_ntp --help
> check_ntp (nagios-plugins 1.3.0-beta2) 1.9
> The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
> copies of the plugins under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING.
> Copyright (c) 2000 Bo Kersey/Karl DeBisschop
>
> Usage: check_ntp -H <host> [-w <warn>] [-c <crit>] [-v verbose]
>
> <warn> = Clock offset in seconds at which a warning message will be 
> generated.
>         Defaults to 60.
> <crit> = Clock offset in seconds at which a critical message will be 
> generated.
>         Defaults to 120.
>
> The same warning and critical values are used to check against the 
> dispersion
> column of ntpdc/xntpdc for the host being queried.
>
> Send email to nagios-users at lists.sourceforge.net if you have questions
> regarding use of this software. To submit patches or suggest improvements,
> send email to nagiosplug-devel at lists.sourceforge.net
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040614/b02b0ced/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 900 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040614/b02b0ced/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1321 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040614/b02b0ced/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 891 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040614/b02b0ced/attachment-0002.gif>


More information about the Users mailing list