Search found 35 matches
- Fri Feb 02, 2024 5:46 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
Have you considered searching the internet on nagfluxperfdata? Yes I did. There it says that this is being used by nagflux or influxdb service. I tried stopping them but this has no effect. root@RSB-VWA-T-MON:/usr/local/nagios/var/spool/nagfluxperfdata# ls -l | wc -l 13260 root@RSB-VWA-T-MON:/usr/l...
- Fri Feb 02, 2024 2:35 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
I checked again the folder "/usr/local/nagios/var/spool/nagfluxperfdata" and it started to fill up again with .service and .host files. Any idea what they are used for? You were saying that they were not used by nagios itself? 4 -rw-r--r-- 1 nagios nagios 2438 Feb 2 08:32 1706859148.perfda...
- Fri Feb 02, 2024 2:28 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
Is the server running Ubuntu? If so, when you were cleaning up files from before, you may have deleted that folder that is needed for Apache2 to run so recreate it mkdir /var/log/apache2 chown root.adm /var/log/apache2 chmod 755 /var/log/apache2 Restart Apache systemctl restart apache2 See if you c...
- Thu Feb 01, 2024 10:22 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
Should I perform step7 of this nagios install guide? Would this help?
https://www.tecmint.com/install-nagios- ... _Interface
https://www.tecmint.com/install-nagios- ... _Interface
- Thu Feb 01, 2024 10:14 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
Take a look at the Apache error logs in this folder /var/log/apache2 to see what errors are logged and use that to determine what to do to fix the issue. Thank you. This folder does not exist. root@RSB-VWA-T-MON:/var/log# ls -ls total 944 28 -rw-r----- 1 syslog adm 23362 Feb 1 16:13 auth.log 4 -rw-...
- Thu Feb 01, 2024 7:37 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
The folder has been cleaned up and now the amount of used inodes is on 7%. ubuntu@RSB-VWA-T-MON:~$ df -i Filesystem Inodes IUsed IFree IUse% Mounted on tmpfs 999425 1494 997931 1% /run /dev/mmcblk0p2 3754080 241529 3512551 7% / tmpfs 999425 1 999424 1% /dev/shm tmpfs 999425 4 999421 1% /run/lock /de...
- Wed Jan 31, 2024 10:14 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
When running a command with an asterisk, bash expands the asterisk to every matching file, and the linux kernel has a limit on how long a command can be. If you get more specific with the command so you match less files, it should work. Are the commands you last tried to run working? Best Regards, ...
- Wed Jan 31, 2024 9:43 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
This folder is full of .service and .host files. I am busy removing these files via the below commands.
find /usr/local/nagios/var/spool/nagfluxperfdata -name "*.service" -delete
find /usr/local/nagios/var/spool/nagfluxperfdata -name "*.host" -delete
find /usr/local/nagios/var/spool/nagfluxperfdata -name "*.service" -delete
find /usr/local/nagios/var/spool/nagfluxperfdata -name "*.host" -delete
- Wed Jan 31, 2024 6:27 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
The problem is that the command needs to create temporary files on the filesystem to create the list of inode usage but since there are not any free inodes, it cannot so that is why you see the error. Login as root to the server and stop as many processes as you can. Remove any log files or other f...
- Tue Jan 30, 2024 10:32 am
- Forum: Nagios XI
- Topic: No space left on device
- Replies: 66
- Views: 26563
Re: No space left on device
The only way to see if you cleaned up the files that are taking up the inodes is to run this command again. { find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n; } Unfortunately that command does not give me any result. root@RSB-VWA-T-MON:~# { find / -xdev -printf '%h\n' | sort | uniq -c |...