Repairing journald logs on Centos / RHEL 7
Repairing journald logs on Centos / RHEL 7
Repairing journald logs on Centos / RHEL 7
Modern versions of logwatch support journalctl logs, to enable this in Centos / RHEL 7 just install the FC27 RPM (dependencies are minimal) and configure like so.
Edit grub entry Add systemd.unit=multi-user.target From here
If you’re using nrpe socket activation and don’t have a template file, try this in /etc/systemd/system/nrpe@.service : [Unit] Description=nrpe socket service Requires=nrpe.socket [Service] User=nrpe ExecStart=-/usr/bin/nrpe -c /etc/nrpe/nrpe.cfg –inetd StandardInput=socket StandardOutput=inherit StandardError=journal [Install] WantedBy=multi-user.target You’ll also need /etc/systemd/system/nrpe.socket : [Unit] Description=Nagios Remote Plugin Executor Documentation=http://www.nagios.org/documentation Before=nrpe.service Conflicts=nrpe.service [Socket] ListenStream=5666 Accept=yes [Install] WantedBy=sockets.target Then systemctl start nrpe.socket