How do i disable daily reports?

Skedaddle

Active Member
Aug 17, 2018
12
0
41
I am trying to disable the daily report that is sent out at midnight.
In the GUI I have set "Send daily reports" to No but that didn't help. Any ideas?
 
Hi,

you disabled with that option the admin report.
To disable the daily quarantine reports go to: Configuration/Spam Detector/Quarantine: Report Style and set "No Reports".

Greetz
 
  • Like
Reactions: elisiak
Hi,

you disabled with that option the admin report.
To disable the daily quarantine reports go to: Configuration/Spam Detector/Quarantine: Report Style and set "No Reports".

Greetz
No, I am talking about
Proxmox Status Report with cluster status, incoming mail, etc.
 
As mentioned by Sommer, it is the admin report I want disabled. However the setting doesn't seem to work.
 
Bug created. Thanks. I worked around the problem by renaming the pmgreport binary.

*** W A R N I N G ***
Use at your OWN discretion.


I wanted to help those who need something more prescriptive.

I've now placed the following entries within a script called "stopdailyreport", placing it within the directory "/usr/local/bin". The script consists of three (3) cmd lines:

systemctl stop pmgreport.timer
systemctl disable pmgreport.timer
systemctl mask --now pmgreport.timer


This *should* work - bug or no bug - to ensure that your Daily Report(s) does not initiate.

Confirm after performing the abovementioned commands.
Follow by using the command "reboot"; confirm using "systemctl status pmgreport.timer".

Output should look like this:

root@proxmox:~# systemctl status pmgreport.timer
* pmgreport.timer
Loaded: masked (Reason: Unit pmgreport.timer is masked.)
Active: inactive (dead)
Trigger: n/a


If you feel that you want to ensure that these commands are performed at startup each and every time, use the attached files.

Place both files under the "/usr/local/bin" directory; enter "chmod 755 /usr/local/bin/stopdaily*".
Confirm files through the following commands:

root@proxmox:/etc/rc3.d# ls -alF /usr/local/bin
total 16
drwxr-xr-x 2 root root 4096 Mar 28 10:54 ./
drwxr-xr-x 10 root root 4096 Jul 15 2021 ../
-rwxr-xr-x 1 root root 346 Mar 28 10:54 stopdaily*

-rwxr-xr-x 1 root root 123 Mar 28 10:51 stopdaily.t*

Execute the command "/usr/local/bin/stopdaily", and should see the following output:

root@proxmox:/usr/local/bin# ./stopdaily
Begin task 'stopdaily'...
** Removing files
** Copying files
Task is complete.


Confirm through the following commands:

root@proxmox:/etc/init.d# ls -alF
total 136
drwxr-xr-x 2 root root 4096 Mar 28 10:55 ./
drwxr-xr-x 81 root root 4096 Mar 28 10:29 ../
-rwxr-xr-x 1 root root 1897 May 13 2021 chrony*
-rwxr-xr-x 1 root root 9563 Apr 15 2021 clamav-daemon*
-rwxr-xr-x 1 root root 7692 Apr 15 2021 clamav-freshclam*
-rwxr-xr-x 1 root root 1232 May 30 2021 console-setup.sh*
-rwxr-xr-x 1 root root 3059 Feb 22 2021 cron*
-rwxr-xr-x 1 root root 3152 Feb 21 2021 dbus*
-rwxr-xr-x 1 root root 7930 Jun 24 2021 fetchmail*
-rwxr-xr-x 1 root root 1748 Feb 7 2021 hwclock.sh*
-rwxr-xr-x 1 root root 1479 Oct 29 2018 keyboard-setup.sh*
-rwxr-xr-x 1 root root 2044 Jan 7 2021 kmod*
-rwxr-xr-x 1 root root 695 Feb 22 2021 lvm2*
-rwxr-xr-x 1 root root 586 Feb 22 2021 lvm2-lvmpolld*
-rwxr-xr-x 1 root root 5658 Jun 28 2021 nfs-common*
-rwxr-xr-x 1 root root 3368 Aug 2 2020 postfix*
-rwxr-xr-x 1 root root 1490 Nov 15 2019 postgresql*
-rwxr-xr-x 1 root root 924 Apr 6 2021 procps*
-rwxr-xr-x 1 root root 2507 Jul 12 2020 rpcbind*
-rwxr-xr-x 1 root root 5246 Sep 1 2019 rrdcached*
-rwxr-xr-x 1 root root 4417 Feb 2 2021 rsync*
-rwxr-xr-x 1 root root 2864 Feb 17 2021 rsyslog*
-rwxr-xr-x 1 root root 4056 Mar 13 2021 ssh*
-rwxr-xr-x 1 root root 123 Mar 28 10:55 stopdaily*
-rwxr-xr-x 1 root root 1030 Feb 27 2021 sudo*
-rwxr-xr-x 1 root root 6871 Apr 12 2021 udev*


root@sproxmox:/etc/rc3.d# ls -alF
total 8
drwxr-xr-x 2 root root 4096 Mar 28 10:55 ./
drwxr-xr-x 81 root root 4096 Mar 28 10:29 ../
lrwxrwxrwx 1 root root 16 Jul 15 2021 S01chrony -> ../init.d/chrony*
lrwxrwxrwx 1 root root 23 Oct 4 13:31 S01clamav-daemon -> ../init.d/clamav-daemon*
lrwxrwxrwx 1 root root 26 Oct 4 13:31 S01clamav-freshclam -> ../init.d/clamav-freshclam*
lrwxrwxrwx 1 root root 26 Oct 4 13:30 S01console-setup.sh -> ../init.d/console-setup.sh*
lrwxrwxrwx 1 root root 14 Oct 4 13:29 S01cron -> ../init.d/cron*
lrwxrwxrwx 1 root root 14 Oct 4 13:29 S01dbus -> ../init.d/dbus*
lrwxrwxrwx 1 root root 19 Oct 4 13:29 S01fetchmail -> ../init.d/fetchmail*
lrwxrwxrwx 1 root root 23 Jul 15 2021 S01lvm2-lvmpolld -> ../init.d/lvm2-lvmpolld*
lrwxrwxrwx 1 root root 17 Oct 4 13:30 S01postfix -> ../init.d/postfix*
lrwxrwxrwx 1 root root 20 Oct 4 13:31 S01postgresql -> ../init.d/postgresql*
lrwxrwxrwx 1 root root 19 Oct 4 13:31 S01rrdcached -> ../init.d/rrdcached*
lrwxrwxrwx 1 root root 15 Oct 4 13:30 S01rsync -> ../init.d/rsync*
lrwxrwxrwx 1 root root 17 Oct 4 13:30 S01rsyslog -> ../init.d/rsyslog*
lrwxrwxrwx 1 root root 13 Oct 4 13:30 S01ssh -> ../init.d/ssh*
lrwxrwxrwx 1 root root 14 Oct 4 13:29 S01sudo -> ../init.d/sudo*

lrwxrwxrwx 1 root root 21 Mar 28 10:55 S99stopdaily -> /etc/init.d/stopdaily*

And that should do it!
 

Attachments