Results 1 to 4 of 4
Does anyone have a simple send/expect script
to check a Red Hat ntpd server? ntp-4.1.1-1
We use What's Up Gold for monitoring our boxes
and want to add our NTP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-08-2003 #1Banned
- Join Date
- Dec 2002
- Location
- Texas
- Posts
- 242
Checking NTP via UDP
Does anyone have a simple send/expect script
to check a Red Hat ntpd server? ntp-4.1.1-1
We use What's Up Gold for monitoring our boxes
and want to add our NTP servers, too. IP Switch
says that NTP servers vary too much, so they're
unable to provide a sample script.
- 05-08-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
What exactly is it that you want to "check"?
- 05-09-2003 #3Banned
- Join Date
- Dec 2002
- Location
- Texas
- Posts
- 242
Just to check that the ntpd service is running.
I was going to just do an ntpdate command,
but the server doing the checking is another
ntpd, and I get a "socket is in use" message.
The WUG server does not run ntpd, so it will
not have any socket problems, but it runs on
Windows and does not have ntpdate.
- 05-09-2003 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
How about doing a public key SSH connection to the server and checking the process with ps?


Reply With Quote
