CentOS Digest, Vol 115, Issue 21

Home » CentOS » CentOS Digest, Vol 115, Issue 21
CentOS 1 Comment

Hi Dan

I know EXACTLY what virsh is being called for. I wrote the script! It has nothing to do with logrotate. I want virsh to tell logwatch what the status is of all virtual machines running on the host. Logwatch will then include that in its daily summary report. SELinux is getting in the way.

Regards – Bill Gee

One thought on - CentOS Digest, Vol 115, Issue 21

  • Well logrotate is calling the script, and you just need to add the allow rules to allow logrotate to execute the script and communicate with libvirt. Or you need to run the script in a separate cron job to collect the data before the logrotate script runs.