9.32. Configuration for the ntp-remote check

This check will monitor your ntp server by doing a ntpdate -q

NTP-REMOTE

Explanation

NTP-REMOTE is the enclosing tag for all ntp server which have to be monitored

Parent

OSAGENT

allowed values

Count

0 or 1. If you don't define NTP-REMOTE, no ping check will run.

Example
  <NTP-REMOTE>
    <SERVER>
      <NAME>ntp1.redhat.com</NAME>
      <ERRORLEVEL>WARNING</ERRORLEVEL>
    </SERVER>
    <SERVER>
      <NAME>ntp2.redhat.com</NAME>
      <ERRORLEVEL>WARNING</ERRORLEVEL>
    </SERVER>
  </NTP-REMOTE>
        

COMMAND

Explanation

Sometimes you have to configure your own ntpdate command.

Parent

NTP-REMOTE

allowed values

This command should have a similar output to be interpreted correctly by ntp-remote:

Server 192.168.1.1, Stratum 3, Offset -0.005601, Verzoegerung 0.02582
 4 Jul 17:08:52 ntpdate[1384524]: Zeitserver 192.168.1.1 anpassen, Offset -0.005601
      
Count

0 or 1.

Example
  <NTP-REMOTE>
    <COMMAND>/x/y/z/ntpdate -q</COMMAND>
    <SERVER>
      <NAME>ntp1.redhat.com</NAME>
      <ERRORLEVEL>WARNING</ERRORLEVEL>
    </SERVER>
    <SERVER>
      <NAME>ntp2.redhat.com</NAME>
      <ERRORLEVEL>WARNING</ERRORLEVEL>
    </SERVER>
  </NTP-REMOTE>
        

SERVER

Explanation

for every ntp server you want to check you you define the SERVER-pair

Parent

NTP-REMOTE

allowed values

Count

As many as you like.

Example

Look at NTP-REMOTE

NAME

Explanation

Servername / IP-address of ntp server

Parent

SERVER

allowed values

  • servername, ip address

Count

1

Example

Look at NTP-REMOTE