check_NTP

Paul L. Allen pla at softflare.com
Wed Jan 14 00:59:29 CET 2004


nagios at acmecargo.com writes: 

> I am using check_ntp on several linux hosts and it's working fine. Is 
> there a way to do NTP checks on other various types of equipment? The 
> obvious next choice would be Windows, followed by Cisco. Any thoughts?

If it's running an NTP server (even if only exposed on some interfaces)
and you can reach an interface that accesses the NTP server from your
monitoring machine then it should be possible whatever the platform,
as far as I can see.  If it's not acting as a server at all, then you can
use NRPE or check_by_ssh to run check_ntp against 127.0.0.1 IF it's a *nix
box (maybe including OS X) but not on any other platform. 

The check_ntp plugin is basically written around having either ntpq
or ntpdate on a *nix platform.  So if you run it on a *nix box to
test some remote NTP server of whatever archicture, it should be OK
(assuming a reasonable implementation of NTP protocols).  If you try
to run it against localhost on a non-*nix platform it is unlikely to
work.  The plugin is in perl, so may well run, but unless it can find
ntpq or ntpdate along the *nix paths where they usually live, it will
barf. 

-- 
Paul Allen
Softflare Support 




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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