- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP monitoring
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 06:46 AM
07-28-2003 06:46 AM
Thanks in advance,
Dalin
Solved! Go to Solution.
- Tags:
- NTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 06:56 AM
07-28-2003 06:56 AM
Re: NTP monitoring
NTP should be pretty much self healing. You might want to review syslog entries just to assure yourself that all is well:
"grep -i ntp /var/adm/syslog/syslog.log"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:04 AM
07-28-2003 07:04 AM
Re: NTP monitoring
If you have any doubts about your setup use this command to monitor connection
ntpq -p
The "reach" value will move towards 377 if the connection is reliable.
Also check for the /var/adm/syslog/syslog.log file for ntp logs.
and xntpd is the daemon should be always running
-Uday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:05 AM
07-28-2003 07:05 AM
Re: NTP monitoring
Look for entry's in your syslog, like "Lost connection to stratum" if you do not find them in your syslog you are pretty save.
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:08 AM
07-28-2003 07:08 AM
Re: NTP monitoring
Dalin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:12 AM
07-28-2003 07:12 AM
Re: NTP monitoring
How many servers are connected to your ntp gps device ?
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:14 AM
07-28-2003 07:14 AM
Re: NTP monitoring
Dalin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:16 AM
07-28-2003 07:16 AM
Re: NTP monitoring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:20 AM
07-28-2003 07:20 AM
Re: NTP monitoring
What do the "ntpq -p" output fields mean?
DocId: KBRC00001347 Updated: 2/14/00 9:51:55 AM
PROBLEM
The details of the "ntpq -p" output fields
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063235965
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:24 AM
07-28-2003 07:24 AM
Re: NTP monitoring
We see synch lost and resynch messages as well. I suspect that this is completely normal. For ongoing monitoring, I would suggest a cron job that greps syslog for ntp messages once a day and emails the output to you. You could get fancy and check for a synch lost without a corresponding resynch, but a little manual review would also work without too much effort.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:28 AM
07-28-2003 07:28 AM
Re: NTP monitoring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 07:29 AM
07-28-2003 07:29 AM
Re: NTP monitoring
Our ntp server at work does not respond properly to the the ntpq -p command, but the clocks are maintained.
I set up a D320 at home and told it to get time from a Linux server and didn;t check it.
Well, I ran the date command last night and saw it was running 7 hours ahead of central time.
The strange part is that at home I leave that firewall port open and the secondary server is reachable on the public internet but not updating time.
Its on my once a month checklist just to make sure the clocks aren't drifting.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 05:37 AM
07-29-2003 05:37 AM
Re: NTP monitoring
Do all your systems get their NTP signals from the GPS? Do they have other sources as well? My experience has been that if you designate one internal system to be a lower stratum source using it's internal clock as a last resort, then even if you loose your GPS source your systems will not drift from each other, only from the world.
I personally only have one system designated to reference external time sources, the rest sync off the primary internally. Also, I have IT/O monitoring the NTP daemon. (Network guys complained about the concept of 150 servers doing external NTP querys vs. one)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 06:22 AM
07-29-2003 06:22 AM
Re: NTP monitoring
you could try doing
ntpdate -q
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 06:53 AM
07-29-2003 06:53 AM
SolutionUse cron to schedule it out at sensible time intervals.
#0,15,30,45 * * * * /usr/local/admin/etc/timecheck > /dev/null 2>&1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 06:55 AM
07-29-2003 06:55 AM
Re: NTP monitoring
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 02:15 PM
07-31-2003 02:15 PM
Re: NTP monitoring
For those of us, who are not allowed to go to the internet for such things, you can do a little trick to keep time from dying completely in the case of a single point failure.
You can setup a fudge entry on each of your strata servers. If you main source goes south, the system will lock in on its own clock, and keep adjusting. I just have it setup on GPS attached server, so that all the systems' time degrade together. You can also set this up on your stratum 1 timeservers if you want. By setting the stratum of the local clock much lower than your actual stratum, you ensure that only a complete failure will cause it to be used.
Here is a copy of what I have in ntp.conf;
# Main GPS clock configuration
server 127.127.29.0 minpoll 6 prefer
fudge 127.127.29.0 time1 0.00028125
#
## Temporary config during hardware malfunction
#
# Local clock : Allows the server to synchronize to its own clock.
#
server 127.127.1.1
fudge 127.127.1.1 stratum 8 # show poor quality
#
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 02:15 PM
07-31-2003 02:15 PM
Re: NTP monitoring
For those of us, who are not allowed to go to the internet for such things, you can do a little trick to keep time from dying completely in the case of a single point failure.
You can setup a fudge entry on each of your strata servers. If you main source goes south, the system will lock in on its own clock, and keep adjusting. I just have it setup on GPS attached server, so that all the systems' time degrade together. You can also set this up on your stratum 1 timeservers if you want. By setting the stratum of the local clock much lower than your actual stratum, you ensure that only a complete failure will cause it to be used.
Here is a copy of what I have in ntp.conf;
# Main GPS clock configuration
server 127.127.29.0 minpoll 6 prefer
fudge 127.127.29.0 time1 0.00028125
#
## Temporary config during hardware malfunction
#
# Local clock : Allows the server to synchronize to its own clock.
#
server 127.127.1.1
fudge 127.127.1.1 stratum 8