PRTG SSH sensor and PVE logs

Schwarze Wellen

New Member
May 16, 2024
8
0
1
I use PRTG for monitoring my server infrastructure and recently I set up an SSH sensor to monitor the load averages of my PVE 8 node (latest non-subscription packages).

https://www.paessler.com/manuals/prtg/ssh_load_average_sensor

Despite this working great, I noticed that this absolutely spams my node logs with the SSH connection and disconnection constantly happening due to the way the sensor operates. I saw this by chance when I was in the GUI and clicked on the logs section.

Is this something I should be concerned with? My worry is that this may eventually lead to my node's disk filling up with logs.
 
Hi!
Almost all the logging on a Proxmox VE instance is done via journald, as are the logs generate by SSH. Journald comes with a few mechanisms to prevent it from filling up the file system. By default, it will limit itself to 4GB or 10% of your file system, whichever is smaller, and not grow above that.
If you would like to change those defaults, you can edit /etc/systemd/journald.conf and set the SystemMaxUse value.
More info is available in the man pages, just execute man journald.conf in your systems shell.