Probs with check_ntp

Ralf Mellis testrm at kisters.com
Thu May 22 11:47:22 CEST 2003


I have checked the logs of my problematic host, and there are always 
entries like:

######### snip ###########
May 22 11:31:33 smeagol nrpe[16166]: Host is asking for command 
'check_ntp' to be run...
May 22 11:31:33 smeagol nrpe[16166]: Running command: 
/opt/nagios/libexec/check_ntp -H ptbtime1.ptb.de
May 22 11:31:45 smeagol nrpe[16166]: Command completed with return code 
0 and output: NTP OK: Offset 0.111329 secs
May 22 11:31:45 smeagol nrpe[16166]: Return Code: 0, Output: NTP OK: 
Offset 0.111329 secs
######### snap ###########

One can see that between activating the command and getting the return 
code there are a little bit more than 10 seconds. I have tried the 
command with the ip address of the ntp server, but no change in time 
behaviour.

I have tried the switch "-t" with the "check_ntp" plugin to increase the 
  timeout value, but it does not recognise it.

Is there a possibility to increase the timeout of 10 seconds in the 
service definition on the nag host?

Bye

-- 
Ralf Mellis
Abt. DV/ORG
Kisters Maschinenbau GmbH
Germany
47533 Kleve
Boschstr. 1-3
Tel. +49(0)2821-503-0
Fax  +49(0)2821-26110




-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list