The error message suggest that the servers hard drive has filled up and the Postgress database cannot write temporary files.
To check the space of the server you can run this command
If it shows that the drive is full, you can use the following commands to see what is taking up the space.
Find largest 10 directories by size command:
Code: Select all
find / -type d -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
Find the largest 10 files by size command:
Code: Select all
find / -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
Try to free up some space on the server.
Files that can be deleted on Nagios system to free up space.
Generic Files
For generic Centos and Redhat installs, most log files are stored in the following folder and it's subfolders.
Most files in that folder are setup to automatically be compressed and deleted by the logrotate application. It allows automatic rotation, compression, removal of log files.
But if the server is totally out of space, the files that end in a date code can be deleted to free up space.
Some files in that folder do not get rotated and over time, could grow very large.
The MYSQL and Mariadb log files for example, do not get rotated on some systems.
If you do not need to keep then, they can be truncated.
The MYSQL log file is typically located here
The Mariadb log file is typically located here
To truncate those files, you would just need to pipe null into the file.
Code: Select all
> /var/log/mysqld.log
> /var/log/mariadb/mariadb.log
If the image is a Nagios supplied VM, you can increase the drive space by following this article.
https://support.nagios.com/kb/article/n ... e-266.html