Re: NTP and logging



Syslog will tell you how ntpd is doing.



This is our syslog.conf file.



# cat /etc/syslog.conf|grep -v ^#

*.err /dev/console

daemon.info /var/log/ftplog rotate 5m files 4 time
1m

*.debug /var/log/syslog rotate 5m files 4 time
1m

*.debug @loghost

daemon.debug /var/log/daemon.log rotate 5m files 4 time
1m





# lssrc -a |grep syslog

syslogd ras 344296 active







daemon:info xntpd[208946]: synchronisation lost

daemon:info xntpd[208946]: synchronized to 10.131.86.20, stratum=2

daemon:notice xntpd[208946]: time reset (step) -0.146385 s

genoa daemon:info xntpd[208946]: synchronisation lost

daemon:info xntpd[208946]: synchronized to 10.131.86.20, stratum=2

________________________________



From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Larry Scheetz
Sent: Monday, July 31, 2006 12:36 PM
To: aix-l@xxxxxxxxxxxxx
Subject: NTP and logging



Admins,





I have setup "xntpd" to run on my AIX 5.2 boxes. I can type the
command "ntpq -p" and this will give me the query information which is
very helpful. Is there anywhere that the system logs errors or data via
"xntpd" daemon? If there is I do not imagine that I have it setup to
log. Does anyone have a quick note on how to log xntpd information to
check for errors?



Thx

Larry