Sponsored Content
Operating Systems Solaris "synchronisation lost" errors for Solaris NTP server Post 303042027 by MadeInGermany on Wednesday 11th of December 2019 01:58:48 PM
Old 12-11-2019
I am not sure how it behaves.
I would disable the bad peer in ntp.conf

Code:
server 192.168.70.16 prefer
#bad#server 172.28.42.204
server 172.28.34.204

driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable

restrict default notrap nomodify nopeer noquery
restrict 127.0.0.1

 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Restoring back files from "lost+found" directory

Hi Friends, How can I Restore the Files present under "lost+found" Directory of a FileSystem (in Solaris & Tru64 OS) to their original Locations. Now-a-days I am loosing lots of files in 2 of my Machines, One running Solaris8 and other Tru64(Digital) Unix. Thanx in... (1 Reply)
Discussion started by: dhasarath
1 Replies

2. UNIX for Dummies Questions & Answers

Can you force local NTP server to be accepted as "suitable"?

Is there some way to force the NTP server on a brand-new install to be "suitable" to sync other servers from? (I'm more concerned with synchronization between machines, and less concerned with what the actual time they sync to is) For example, whenever I install fresh from the Fedora DVDs and... (0 Replies)
Discussion started by: jjinno
0 Replies

3. Linux

NTP treshold "synchronisation lost"

does anyone know how to change the treshold of 128ms in NTP. in order to ignore these alarms: Oct 27 14:44:15 rt1 ntpd: synchronisation lost Oct 27 15:08:25 rt1 ntpd: time reset 0.688591 s Oct 27 15:08:25 rt1 ntpd: synchronisation lost Oct 27 15:28:45 rt1 ntpd: time reset 0.462257 s (0 Replies)
Discussion started by: modcan
0 Replies

4. UNIX for Advanced & Expert Users

All alias in .profile lost when "script" command is called

Hi, I was trying to call "script <an ip add>" command from .profile file to log everything whenever anyone logs in to this user. I did the following at the end of .profile. 1) Extracted the IP address who logged in 2) Called script < ip add> . The problem I am facing is all, aliases etc. written... (3 Replies)
Discussion started by: amicon007
3 Replies

5. AIX

"too big" and "not enough memory" errors in shell script

Hi, This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Discussion started by: jerardfjay
11 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Solaris

Printer configuration Migration from Solaris 10 "LP" to Solaris 11 "CUPS"

Need to find a way to import an LP printers.conf file to CUPS. I have some new Solaris 11.1 boxes that need to have 300 printers added. (0 Replies)
Discussion started by: os2mac
0 Replies

8. UNIX for Dummies Questions & Answers

"Help with bash script" - "License Server and Patch Updates"

Hi All, I'm completely new to bash scripting and still learning my way through albeit vey slowly. I need to know where to insert my server names', my ip address numbers through out the script alas to no avail. I'm also searching on how to save .sh (bash shell) script properly.... (25 Replies)
Discussion started by: profileuser
25 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
ntp_mon(5)							File Formats Manual							ntp_mon(5)

NAME
ntp_mon - Monitoring Options INTRODUCTION
The ntpd includes a comprehensive monitoring facility which collects statistical data of various types and writes the data to files associ- ated with each type at defined events or intervals. The files associated with a particular type are collectively called the generation file set for that type. The files in the file set are the members of that set. File sets have names specific to the type and generation epoch. The names are constructed from three concatenated elements prefix, filename and suffix: prefix The directory path specified in the statsdir command. name The name specified by the file option of the filegen command. suffix A string of elements bdginning with . (dot) followed by a number of elements depending on the file set type. Statistics files can be managed using scripts, examples of which are in the ./scripts directory. Using these or similar scripts and Unix cron jobs, the files can be automatically summarized and archived for retrospective analysis. MONITORING COMMANDS
filegen name file filename [type type] [link | nolink] [enable | disable] name Specifies the file set type from the list in the next section. file filename Specfies the file set name. type typename Specifies the file set interval. The following intervals are supported with default day: none The file set is actually a single plain file. pid One file set member is created for every incarnation of ntpd. The file name suffix is the string .n, where n is the process ID of the ntpd server process. day One file set member is created per day. A day is defined as the period between 00:00 and 23:59 UTC. The file name suffix is the string .yyyymmdd, where yyyy is the year, mm the month of the year and dd the day of the month. Thus, member created on 10 December 1992 would have suffix .19921210. week One file set member is created per week. The week is defined as the day of year modulo 7. The file name suffix is the string .yyyyWww, where yyyy is the year, W stands for itself and ww the week number starting from 0. For exam- ple, The member created on 10 January 1992 would have suffix .1992W1. month One file set member is created per month. The file name suffix is the string .yyyymm, where yyyy is the year and mm the month of the year starting from 1. For example, The member created on 10 January 1992 would have suffix .199201. year One file set member is generated per year. The file name suffix is the string .yyyy, where yyyy is the year. For example, The member created on 1 January 1992 would have suffix .1992. age One file set member is generated every 24 hours of ntpd operation. The filename suffix is the string .adddddddd, where a stands for itself and dddddddd is the ntpd running time in seconds at the start of the corresponding 24-hour period. link | nolink It is convenient to be able to access the current file set members by file name, but without the suffix. This feature is enabled by link and disabled by nolink. If enabled, which is the default, a hard link from the current file set member to a file without suffix is created. When there is already a file with this name and the number of links to this file is one, it is renamed by appending a dot, the letter C, and the pid of the ntpd server process. When the number of links is greater than one, the file is unlinked. This allows the current file to be accessed by a constant name. enable | disable Enable or disable the recording function, with default enable. These options are intended for remote configutation com- mands. statsdir directory_path Specify the directory path prefix for statistics file names. FILE SET TYPES
clockstats Record reference clock statistics. Each update received from a reference clock driver appends one line to the clockstats file set: 49213 525.624 127.127.4.1 93 226 00:08:29.606 D +--------------------------------------+---------------------------------------+---------------------------------------------------+ | Item | Units | Description | +--------------------------------------+---------------------------------------+---------------------------------------------------+ | 49213 | MJD | date | +--------------------------------------+---------------------------------------+---------------------------------------------------+ | 525.624 | s | time past midnight | +--------------------------------------+---------------------------------------+---------------------------------------------------+ | 127.127.4.1 | IP | reference clock address | +--------------------------------------+---------------------------------------+---------------------------------------------------+ | message | text | log message | +--------------------------------------+---------------------------------------+---------------------------------------------------+ The message field includes the last timecode received in decoded ASCII format, where meaningful. In some cases a good deal of addi- tional information is displayed. See information specific to each reference clock for further details. cryptostats Record significant events in the Autokey protocol. This option requires the OpenSSL cryptographic software library. Each event appends one line to the cryptostats file set: 49213 525.624 128.4.1.1 message +---------------------------------+------------------------------------+-----------------------------------------------------------+ | Item | Units | Description | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | 49213 | MJD | date | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | 525.624 | s | time past midnight | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | 128.4.1.1 | IP | source address (0.0.0.0 for system) | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | message | text | log message | +---------------------------------+------------------------------------+-----------------------------------------------------------+ The message field includes the message type and certain ancillary information. See the Authentication Options page for further information. loopstats Record clock discipline loop statistics. Each system clock update appends one line to the loopstats file set: 50935 75440.031 0.000006019 13.778 0.000351733 0.013380 6 +----------------------------------+------------------------------------+----------------------------------------------------------+ | Item | Units | Description | +----------------------------------+------------------------------------+----------------------------------------------------------+ | 50935 | MJD | date | +----------------------------------+------------------------------------+----------------------------------------------------------+ | 75440.031 | s | time past midnight | +----------------------------------+------------------------------------+----------------------------------------------------------+ | 0.000006019 | s | clock offset | +----------------------------------+------------------------------------+----------------------------------------------------------+ | 13.778 | PPM | frequency offset | +----------------------------------+------------------------------------+----------------------------------------------------------+ | 0.000351733 | s | RMS jitter | +----------------------------------+------------------------------------+----------------------------------------------------------+ | 0.013380 | PPM | RMS frequency jitter (aka wander) | +----------------------------------+------------------------------------+----------------------------------------------------------+ | 6 | log2 s | clock discipline loop time constant | +----------------------------------+------------------------------------+----------------------------------------------------------+ peerstats Record peer statistics. Each NTP packet or reference clock update received appends one line to the peerstats file set: 48773 10847.650 127.127.4.1 9714 -0.001605376 0.000000000 0.001424877 0.000958674 +-----------------------------------------+----------------------------------------+-----------------------------------------------+ | Item | Units | Description | +-----------------------------------------+----------------------------------------+-----------------------------------------------+ | 48773 | MJD | date | +-----------------------------------------+----------------------------------------+-----------------------------------------------+ | 10847.650 | s | time past midnight | +-----------------------------------------+----------------------------------------+-----------------------------------------------+ | 127.127.4.1 | IP | source address | +-----------------------------------------+----------------------------------------+-----------------------------------------------+ | 9714 | hex | status word | +-----------------------------------------+----------------------------------------+-----------------------------------------------+ | -0.001605376 | s | clock offset | +-----------------------------------------+----------------------------------------+-----------------------------------------------+ | 0.000000000 | s | roundtrip delay | +-----------------------------------------+----------------------------------------+-----------------------------------------------+ | 0.001424877 | s | dispersion | +-----------------------------------------+----------------------------------------+-----------------------------------------------+ | 0.000958674 | s | RMS jitter | +-----------------------------------------+----------------------------------------+-----------------------------------------------+ The status field is encoded in hex format as described in Appendix B of the NTP specification RFC 1305. protostats Record significant peer, system and [rptpcp; events. Each significant event appends one line to the protostats file set: 49213 525.624 128.4.1.1 963a 8a message +---------------------------------+------------------------------------+-----------------------------------------------------------+ | Item | Units | Description | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | 49213 | MJD | date | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | 525.624 | s | time past midnight | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | 128.4.1.1 | IP | source address (0.0.0.0 for system) | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | 963a | code | status word | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | 8a | code | event message code | +---------------------------------+------------------------------------+-----------------------------------------------------------+ | message | text | event message | +---------------------------------+------------------------------------+-----------------------------------------------------------+ The event message code and message field are described on the Event Messages and Status Words page. rawstats Record timestamp statistics. Each NTP packet received appends one line to the rawstats file set: 50928 2132.543 128.4.1.1 128.4.1.20 3102453281.584327000 3102453281.58622800031 02453332.540806000 3102453332.541458000 +----------------------------------------------+------------------------------------+----------------------------------------------+ | Item | Units | Description | +----------------------------------------------+------------------------------------+----------------------------------------------+ | 50928 | MJD | date | +----------------------------------------------+------------------------------------+----------------------------------------------+ | 2132.543 | s | time past midnight | +----------------------------------------------+------------------------------------+----------------------------------------------+ | 128.4.1.1 | IP | source address | +----------------------------------------------+------------------------------------+----------------------------------------------+ | 128.4.1.20 | IP | destination address | +----------------------------------------------+------------------------------------+----------------------------------------------+ | 3102453281.584327000 | NTP s | origin timestamp | +----------------------------------------------+------------------------------------+----------------------------------------------+ | 3102453281.586228000 | NTP s | receive timestamp | +----------------------------------------------+------------------------------------+----------------------------------------------+ | 3102453332.540806000 | NTP s | transmit timestamp | +----------------------------------------------+------------------------------------+----------------------------------------------+ | 3102453332.541458000 | NTP s | destination timestamp | +----------------------------------------------+------------------------------------+----------------------------------------------+ sysstats Record system statistics. Each hour one line is appended to the sysstats file set in the following format: 50928 2132.543 3600 81965 0 9546 56 512 540 10 4 147 1 +-----------------------------------+---------------------------------------+------------------------------------------------------+ | Item | Units | Description | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 50928 | MJD | date | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 2132.543 | s | time past midnight | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 3600 | s | time since reset | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 81965 | # | packets received | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 0 | # | packets for this host | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 9546 | # | current versions | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 56 | # | old version | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 512 | # | access denied | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 540 | # | bad length or format | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 10 | # | bad authentication | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 4 | # | declined | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 147 | # | rate exceeded | +-----------------------------------+---------------------------------------+------------------------------------------------------+ | 1 | # | kiss-o'-death packets sent | +-----------------------------------+---------------------------------------+------------------------------------------------------+ timingstats (Only available when the deamon is compiled with process time debugging support (--enable-debug-timing - costs performance). Record processing time statistics for various selected code paths. 53876 36.920 10.0.3.5 1 0.000014592 input processing delay +-----------------------------------+-----------------------------------+----------------------------------------------------------+ | Item | Units | Description | +-----------------------------------+-----------------------------------+----------------------------------------------------------+ | 53876 | MJD | date | +-----------------------------------+-----------------------------------+----------------------------------------------------------+ | 36.920 | s | time past midnight | +-----------------------------------+-----------------------------------+----------------------------------------------------------+ | 10.0.3.5 | IP | server address | +-----------------------------------+-----------------------------------+----------------------------------------------------------+ | 1 | # | event count | +-----------------------------------+-----------------------------------+----------------------------------------------------------+ | 0.000014592 | s | total time | +-----------------------------------+-----------------------------------+----------------------------------------------------------+ | message | text | code path description (see source) | +-----------------------------------+-----------------------------------+----------------------------------------------------------+ SEE ALSO
ntp.conf(5), ntp_decode(5) The official HTML documentation. This file was automatically generated from HTML source. ntp_mon(5)
All times are GMT -4. The time now is 05:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy