Re: nagios monitoring of a remote openntp service

Previous thread: OpenBSD 4.3 CD, T-Shirts, Books arrived at ShenZhen, China. by Zhang Huangbin on Thursday, May 8, 2008 - 1:22 am. (1 message)

Next thread: How to copy/pipe console buffert to file? by rancor on Thursday, May 8, 2008 - 3:37 am. (9 messages)
From: Pete Vickers
Date: Thursday, May 8, 2008 - 2:53 am

Hi,

Has anybody gotten Nagois' check_ntp_* to play nicely with a remote  
openntp service ? It appears to  rely upon services not implemented  
in openntp ?

/Pete

From: Dave Ewart
Date: Thursday, May 8, 2008 - 3:59 am

openntpd does not listen on port 123 by default: that's what Nagios
would use to monitor,

Check man ntpd.conf for the 'listen' option.

Dave.

-- 
Dave Ewart davee@sungate.co.uk, jabber:davee@jabber.org, freenode:davee
All email from me is now digitally signed, http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

From: Pete Vickers
Date: Thursday, May 8, 2008 - 4:29 am

Hi,

That's not the problem ! - the hosting is correctly listening, and  
indeed other hosts are correctly syncing to it. It's only the nagios  
check_ntp_* that doesn't like it.


$ ~> grep -i listen /etc/ntpd.conf
# Addresses to listen on (ntpd does not listen by default)
listen on *

$ ~> ps -aux | grep ntp
_ntp     18182  0.0  0.0   468   612 ??  S     19Nov06    5:57.94  
ntpd: ntp engine (ntpd)
root     10889  0.0  0.0   512   616 ??  Is    19Nov06    0:00.24  
ntpd: [priv] (ntpd)



/Pete



From: Dave Ewart
Date: Thursday, May 8, 2008 - 5:39 am

On this network, Nagios runs on a Debian Etch machine and issuing:

  /usr/lib/nagios/plugins/check_ntp -H myhostname

returns

  NTP OK: Offset -0.0001729539945 secs|offset=-0.0001729539945

What output do *you* get when you run check_ntp?

Dave.
-- 
Dave Ewart davee@sungate.co.uk, jabber:davee@jabber.org, freenode:davee
All email from me is now digitally signed, http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

Previous thread: OpenBSD 4.3 CD, T-Shirts, Books arrived at ShenZhen, China. by Zhang Huangbin on Thursday, May 8, 2008 - 1:22 am. (1 message)

Next thread: How to copy/pipe console buffert to file? by rancor on Thursday, May 8, 2008 - 3:37 am. (9 messages)