Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
Trying to find a way include /var/log/ntp/log in /etc/rsyslog.conf so all can send to remote log server. Seems like it has to be one of the rule but now sure.
By default ntpd uses syslog, unless a logfile is defined in the NTPD configuration file. The amount of logging messages is configured using the logconfig directive in that config file.
The ntpd daemon can also generate statistics if statsdir is defined, and you have some filegen definitions. Docs on those things: http://doc.ntp.org/4.2.6p3/monopt.html
No idea what you're asking. Again, as said, NTP is logged to syslog BY DEFAULT, unless you have it logging somewhere else. You do it by looking at your NTP configuration, and adjusting it to do what you want.
You were provided the explanation, documentation, and explanation on what to do. Not much else to say 'in a simply way'.
ok that was simple and I dont think you dont know, anyway:
Yes, it was simple...and I *TOLD YOU* how to do it, and what to look for, and handed you documentation. All of which you you had to have looked up for you. Not going to spoon feed you an answer of "Open this file, and type this in", if that's what you were after.
Quote:
logfile /var/log/messages in ntp.conf and now I see all logs in rsyslog messages on remote server - if this make somebody life easier
Right...just like you were told, to look into the ntp config file and set things accordingly. Insulting people when they try to help you isn't likely to get you much help in the future.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.