We're having issues with a relatively new install of Nagios XI. The performance graphs via MRTG keep breaking, particularly after a reboot of the server. The Permissions for the /var/lib/mrtg keep going back to:
drwxr-x--- 2 mrtg mrtg 77824 Nov 7 10:41 mrtg
And all the files under the dir go into the same state. As the cron is setup to run under www-data:nagios, this then breaks & we've to reset permissions post the reboot. Has anyone got this working where you don't need manual fixes on the directory post a reboot?
Thanks.
MRTG issues in Ubuntu
-
- Posts: 11
- Joined: Mon Sep 19, 2022 12:53 pm
Re: MRTG issues in Ubuntu
Good morning joniMcGlade,
During the setup of MRTG on a Ubuntu OS there is a service that gets created that resets the permissions at boot. We do not use that service so you can disable it will the following command.
systemctl stop mrtg ; systemctl disable mrtg
A bug report has been filed.
Thank you, please reach out if there is anything else you need
During the setup of MRTG on a Ubuntu OS there is a service that gets created that resets the permissions at boot. We do not use that service so you can disable it will the following command.
systemctl stop mrtg ; systemctl disable mrtg
A bug report has been filed.
Thank you, please reach out if there is anything else you need
Cody Byers
-
- Posts: 3
- Joined: Thu Nov 09, 2023 4:40 am
Re: MRTG issues in Ubuntu
Thanks Cody,
We'll implement this & test it out!
Appreciate the response.
We'll implement this & test it out!
Appreciate the response.
-
- Posts: 327
- Joined: Wed Aug 09, 2023 9:58 am
Re: MRTG issues in Ubuntu
Hey joniMcGlade, if you are still having this issue it has been fixed in an upcoming release that should be releasing relatively soon.
-
- Posts: 3
- Joined: Thu Nov 09, 2023 4:40 am
Re: MRTG issues in Ubuntu
Thanks for the update, we've had no issues since the previous comment re stopping the service but good to hear re the fix! 
