New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Linux monitoring NTP

Votes:

0

Your Vote:

Up

Down

We have a group of Linux servers running SUSE Linux and we would like to monitor the NTP status. If we manually login to the servers we would do something like:

# ntpq -nc peers
which would return something like this:
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*000.000.000.000     000.000.000.1     2 u   47  128  377    1.271    0.575   0.124

We can then see the offset and see if it is excessive or not.

We tried adding the SNTP sensor to one server as a test to see how it went, but it returns with a sensor timeout error.

Can you confirm that we should be able to monitor linux servers with the SNTP sensor. If not, can you confirm the best way in which to monitor NTP, I am guessing via some sort of custom SSH script sensor?

Thanks

linux ntp prtg script sensor sntp ssh test

Created on May 16, 2014 3:39:58 AM by  Simon Mags (0) 1

Last change on May 19, 2014 9:37:24 AM by  Torsten Lindner [Paessler Support]



2 Replies

Votes:

0

Your Vote:

Up

Down

Hello,

thank you very much for your KB-Post. If the normal SNTP-Sensor does not work with the Suse-Linux Servers in this case, we would indeed recommend, using a self-written script, that is then used by the SSH Script Sensor. You could have the sensor then show the time offset in PRTG.

best regards.

Created on May 20, 2014 11:12:11 AM by  Torsten Lindner [Paessler Support]



Votes:

0

Your Vote:

Up

Down

You are getting the session time out error because NTP on linux is configured to ignore external query requests by default.

You can read the documentation http://support.ntp.org/bin/view/Support/AccessRestrictions#Section_6.5.1.

Edit the /etc/ntp.cfg file and add a line to allow the PRTG server to query the NTP server.

Replace the IP with your IP address IPv4: restrict 192.168.1.10

Hope this helps,

Created on Jul 24, 2015 8:08:57 PM by  SalP (0) 1



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.