Hey Folks,
I've been noticing lots of spam in my system log - every 10 minutes, I get the following:
I've tracked it down to /etc/cron.d/sysstat:
This is happening on my 'oldest' PVE system. This one I started with a very early version of PVE 8 and am now on the latest version.
My other 2 PVE instances (one started on a later version of 8 and one started after 9 was released) don't even have this "sysstat" file, and so, obviously, don't have the logs spammed every 10 min.
I'm going to guess that this is something carried over from an older version of PVE - does that sound accurate?
Does anyone know what this cron job is even doing and whether or not it's even needed? I'm tempted to just delete the sysstat file, but I want to make sure it's not countraindicated first.
Thanks in advance for any info!
I've been noticing lots of spam in my system log - every 10 minutes, I get the following:
Nov 20 10:05:01 pve CRON[3946582]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)Nov 20 10:05:01 pve CRON[3946584]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)Nov 20 10:05:01 pve CRON[3946582]: pam_unix(cron:session): session closed for user rootI've tracked it down to /etc/cron.d/sysstat:
root@pve:/etc/cron.d# cat sysstat # The first element of the path is a directory where the debian-sa1# script is locatedPATH=/usr/lib/sysstat:/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin# Activity reports every 10 minutes everyday5-55/10 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1# Additional run at 23:59 to rotate the statistics file59 23 * * * root command -v debian-sa1 > /dev/null && debian-sa1 60 2root@pve:/etc/cron.d# This is happening on my 'oldest' PVE system. This one I started with a very early version of PVE 8 and am now on the latest version.
My other 2 PVE instances (one started on a later version of 8 and one started after 9 was released) don't even have this "sysstat" file, and so, obviously, don't have the logs spammed every 10 min.
I'm going to guess that this is something carried over from an older version of PVE - does that sound accurate?
Does anyone know what this cron job is even doing and whether or not it's even needed? I'm tempted to just delete the sysstat file, but I want to make sure it's not countraindicated first.
Thanks in advance for any info!