We use the Sophos appliance under Vmware ESXi 5.X Transparent behind our commercial Firewalls (Just some Wireshark replacment ;-)
The box looks real good and is easy to use. The Interface and GUI are just perfect. I like the Realtime options.
Like most of the times when you search for a solution for a linux Problem there seem to be 40 different
Solutions and Rekommandation. Worst case you update Perl, the Kernels and Download 2'000 files. Nobody knows what it does exept the guy who wrote it but thats the same under Windows sometimes.
Here is how to check the space and enable SSH which is more complicated because you have to enable SSH with a key.
After your cleaned up with this method:
Alert E-Mail you get
Data Disk is filling up - please check. Current usage: 98%
System Uptime : 11 days 20 hours 21 minutes
System Load : 0.06
System Version : Sophos UTM 9.314-13
Please refer to the manual for detailed instructions.
First to do that you have to enable SSH and you have to generate a KEY so you can logon with root
They Made that very nice on the Sophos compared to other appliances ;-)
* Enable SSH
* make a private / Public key with PUTTYGEN.exe
* make the key (Save Public and private)
Mark they Public Key fully and paste it into the SOPHOS appliance (Next Screen)
Then give PUTTY.EXE that key to work with:
Now you are able to Logon with root to the Sophos and search for Big files.
du -sh *
There was 1.2 Gigabyte of files under: /var/storage/pgsql92/data after 2 weeks.
Got to the Directory:
Cd /pg_archivecleanup /var/storage/pgsql92/data/pg_xlog
pg_archivecleanup /var/storage/pgsql92/data/pg_xlog 000000010000000000000048
(Number 48 was just the last PLUS one i did have > No idea if this is right ;-)
Here are the large files / TS Logs of PSQL (We don't discuss if this should fill that fast or not or what they are)
pg_archivecleanup: must specify restartfilename
Try "pg_archivecleanup --help" for more information.
frissu:/var/storage/pgsql92/data/pg_xlog # pg_archivecleanup /var/storage/pgsql92/data/pg_xlog 000000010000000000000048
frissu:/var/storage/pgsql92/data/pg_xlog # ls