Find the answer to your Linux question:
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.
  1. #1
    Banned
    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.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    What exactly is it that you want to "check"?

  3. #3
    Banned
    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.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux 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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •