Checking time on remote host
Hugo van der Kooij
hvdkooij at vanderkooij.org
Mon Apr 17 21:23:02 CEST 2006
On Mon, 17 Apr 2006, James Nachlin wrote:
> I'm trying to figure out a way to check that my clocks are realtively in
> synch, without running an extra service on port 37 on all of my
> machines. This rules out the check_time plugin.
>
> In order to write my own plugin, I would have to get check_nrpe to send
> out the current time to the remote nrpe daemon. Is there a way to do
> this, or a better way in general to check time?
Is this about keeping nagios componentns in sync? Because I think any
effort you need to take to keep them into sync is worth it.
If it is about the hosts you are checking it depends on the hosts. Most
linux machines have a way of telling if they use ntp and are in sync. The
ntpq manual page will tell you all about it.
As I know little about windows I can't help you there.
Hugo.
--
I hate duplicates. Just reply to the relevant mailinglist.
hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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