Should I perform step7 of this nagios install guide? Would this help?
https://www.tecmint.com/install-nagios- ... _Interface
No space left on device
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 can access the web interface.
Any errors, post them here so we can see them.
Thank You.
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 can access the web interface.
Any errors, post them here so we can see them.
Thank You.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: No space left on device
I recreated the folder and now I am able to access the web interface again. Thanks a lot all for your help.tgriep wrote: ↑Thu Feb 01, 2024 12:09 pm 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 can access the web interface.
Any errors, post them here so we can see them.
Thank You.
Best regards.
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.perfdata.host
44 -rw-r--r-- 1 nagios nagios 43440 Feb 2 08:32 1706859149.perfdata.service
8 -rw-r--r-- 1 nagios nagios 7254 Feb 2 08:32 1706859163.perfdata.service
4 -rw-r--r-- 1 nagios nagios 2970 Feb 2 08:32 1706859164.perfdata.host
8 -rw-r--r-- 1 nagios nagios 4329 Feb 2 08:32 1706859178.perfdata.service
4 -rw-r--r-- 1 nagios nagios 2102 Feb 2 08:32 1706859179.perfdata.host
4 -rw-r--r-- 1 nagios nagios 1421 Feb 2 08:33 1706859193.perfdata.host
8 -rw-r--r-- 1 nagios nagios 6659 Feb 2 08:33 1706859194.perfdata.service
4 -rw-r--r-- 1 nagios nagios 3351 Feb 2 08:33 1706859209.perfdata.host
44 -rw-r--r-- 1 nagios nagios 42805 Feb 2 08:33 1706859209.perfdata.service
4 -rw-r--r-- 1 nagios nagios 1243 Feb 2 08:33 1706859223.perfdata.host
8 -rw-r--r-- 1 nagios nagios 8035 Feb 2 08:33 1706859224.perfdata.service
4 -rw-r--r-- 1 nagios nagios 2348 Feb 2 08:33 1706859238.perfdata.host
8 -rw-r--r-- 1 nagios nagios 4727 Feb 2 08:33 1706859239.perfdata.service
8 -rw-r--r-- 1 nagios nagios 6046 Feb 2 08:34 1706859253.perfdata.service
4 -rw-r--r-- 1 nagios nagios 2026 Feb 2 08:34 1706859254.perfdata.host
44 -rw-r--r-- 1 nagios nagios 43847 Feb 2 08:34 1706859268.perfdata.service
4 -rw-r--r-- 1 nagios nagios 1929 Feb 2 08:34 1706859269.perfdata.host
16 -rw-r--r-- 1 nagios nagios 14826 Feb 2 08:34 1706859283.perfdata.service
4 -rw-r--r-- 1 nagios nagios 1759 Feb 2 08:34 1706859284.perfdata.host
root@RSB-VWA-T-MON:/usr/local/nagios/var/spool/nagfluxperfdata#
4 -rw-r--r-- 1 nagios nagios 2438 Feb 2 08:32 1706859148.perfdata.host
44 -rw-r--r-- 1 nagios nagios 43440 Feb 2 08:32 1706859149.perfdata.service
8 -rw-r--r-- 1 nagios nagios 7254 Feb 2 08:32 1706859163.perfdata.service
4 -rw-r--r-- 1 nagios nagios 2970 Feb 2 08:32 1706859164.perfdata.host
8 -rw-r--r-- 1 nagios nagios 4329 Feb 2 08:32 1706859178.perfdata.service
4 -rw-r--r-- 1 nagios nagios 2102 Feb 2 08:32 1706859179.perfdata.host
4 -rw-r--r-- 1 nagios nagios 1421 Feb 2 08:33 1706859193.perfdata.host
8 -rw-r--r-- 1 nagios nagios 6659 Feb 2 08:33 1706859194.perfdata.service
4 -rw-r--r-- 1 nagios nagios 3351 Feb 2 08:33 1706859209.perfdata.host
44 -rw-r--r-- 1 nagios nagios 42805 Feb 2 08:33 1706859209.perfdata.service
4 -rw-r--r-- 1 nagios nagios 1243 Feb 2 08:33 1706859223.perfdata.host
8 -rw-r--r-- 1 nagios nagios 8035 Feb 2 08:33 1706859224.perfdata.service
4 -rw-r--r-- 1 nagios nagios 2348 Feb 2 08:33 1706859238.perfdata.host
8 -rw-r--r-- 1 nagios nagios 4727 Feb 2 08:33 1706859239.perfdata.service
8 -rw-r--r-- 1 nagios nagios 6046 Feb 2 08:34 1706859253.perfdata.service
4 -rw-r--r-- 1 nagios nagios 2026 Feb 2 08:34 1706859254.perfdata.host
44 -rw-r--r-- 1 nagios nagios 43847 Feb 2 08:34 1706859268.perfdata.service
4 -rw-r--r-- 1 nagios nagios 1929 Feb 2 08:34 1706859269.perfdata.host
16 -rw-r--r-- 1 nagios nagios 14826 Feb 2 08:34 1706859283.perfdata.service
4 -rw-r--r-- 1 nagios nagios 1759 Feb 2 08:34 1706859284.perfdata.host
root@RSB-VWA-T-MON:/usr/local/nagios/var/spool/nagfluxperfdata#
Re: No space left on device
Have you considered searching the internet on nagfluxperfdata?
Re: No space left on device
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/local/nagios/var/spool/nagfluxperfdata# systemctl stop nagflux.service
root@RSB-VWA-T-MON:/usr/local/nagios/var/spool/nagfluxperfdata# ls -l | wc -l
13265
root@RSB-VWA-T-MON:/usr/local/nagios/var/spool/nagfluxperfdata# ls -l | wc -l
13267
root@RSB-VWA-T-MON:/usr/local/nagios/var/spool/nagfluxperfdata# systemctl stop influxdb.service
Failed to stop influxdb.service: Unit influxdb.service not loaded.
root@RSB-VWA-T-MON:/usr/local/nagios/var/spool/nagfluxperfdata#
Re: No space left on device
The server is running more than InfluxDB
Search the internet for
InfluxDB
Grafana
Nagflux
Histou
The service called nagflux is what is putting the performance data in that folder so stop that from running.
Thank You.
Search the internet for
InfluxDB
Grafana
Nagflux
Histou
The service called nagflux is what is putting the performance data in that folder so stop that from running.
Thank You.
Be sure to check out our Knowledgebase for helpful articles and solutions!