They mystery of the disappearing plugins

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
defl8ed
Posts: 2
Joined: Tue Apr 02, 2013 12:10 pm

They mystery of the disappearing plugins

Post by defl8ed »

Running Cacti 0.8.8a on Centos 6.4. My boss asked me to add the aggregate plugin for him which I was able to do quite easily and then I handed the machine back to him. He successfully set up an aggregate graph for one of the devices being monitored and then said that he lost the ability to add aggregate graphs for anything else. We tried disabling and re-enabling the aggregate plugin to no avail and then ran into a stumbling block when we tried removing and re-installing the plugin - I was able to uninstall the plugin but now I can't install it or any other plugin. When I follow the exact same procedure I followed initially it doesn't work - the list of plugins under the Plugin Management tool never updates. I have tried both with the aforementioned aggregate plugin and also with a few others that I downloaded off of the cacti plugins site. I have tried googling for "cacti plugins list not updating" and several variations of that but just keep finding dozens of threads talking about PIA installation and such. Has anyone ran into an issue like this previously? Is there something that I can do manually to force cacti to re-scan the plugins directory for new folders? Any help would be appreciated.
defl8ed
Posts: 2
Joined: Tue Apr 02, 2013 12:10 pm

Re: They mystery of the disappearing plugins

Post by defl8ed »

Well in case someone else stumbles onto the same problem, I just figured it out - SELinux had somehow been re-enabled on the machine and was preventing cacti from seeing the contents of the plugins folder.
verruckt
Posts: 7
Joined: Wed Apr 03, 2013 1:17 pm

Re: They mystery of the disappearing plugins

Post by verruckt »

Yep, it is SELINUX problem. Somehow enabled is after a reboot in your case. All you have to do is:

chcon -R -t httpd_sys_content_t <your_cacti_dir>/plugins
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests