Plugins not showing up after upgrading to 1.0.3 then 1.0.4

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

Plugins not showing up after upgrading to 1.0.3 then 1.0.4

Post by majedz »

Peace, I upgraded from 0.8.8e and now the plugins don't show in the plugin management. I have two plugins, realtime graph and rrdtool cleaner. plugin management check is enabled in the user. i tried to change the permissions on the plugin folder to cactiuser and root. i tried repairing the database: it says,

Code: Select all

NOTE: Checking for Invalid Cacti Templates
NOTE: 11 Invalid Data Input Data Rows based upon template mappings found in Data Templates

WARNING: Cacti Template Problems found in your Database.  Using the '--force' option will remove
the invalid records.  However, these changes can be catastrophic to existing data sources.  Therefore, you
should contact your support organization prior to proceeding with that repair.
also not all items appear in the black theme until you click some items.

What is the problem?
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by cigamit »

From the 1.0 Changelog.
feature: Merge Aggregate Plugin - Aggregate graph creation
feature: Merge AutoM8 Plugin - Automation of graph creation
feature: Merge Boost Plugin - Faster polling, result caching, on-demand RRDtool file updates
feature: Merge CLog Plugin - View Cacti logs
feature: Merge Discovery Plugin - Device discovery
feature: Merge Domains Plugin - Support for domain (ADS/LDAP) specific user templates
feature: Merge DSStats Plugin - Cache Data Source values for easy retrieval
feature: Merge Logrotate Plugin - Rotate Cacti logs
feature: Merge Realtime Plugin - Realtime graph viewing
feature: Merge Reporting (Nectar) Plugin - Reporting
feature: Merge RRDclean Plugin - RRD file cleanup and management
feature: Merge Secpass Plugin - User password policy enforcement
feature: Merge Settings Plugin - Shared settings for plugins
feature: Merge SNMP Agent Plugin - SNMP Agent for Cacti providing system statistics
feature: Merge SpikeKill Plugin - Remove unwanted spikes from graphs
feature: Merge SSL Plugin - Force https
feature: Merge SuperLinks Plugin - Add external links within Cacti
feature: Merge UGroup Plugin - User groups with permissions
Those plugins will no longer show up because they are now integrated into the Core of Cacti. You are free to delete the old directories as they are no longer needed (and are ignored by Cacti).
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by majedz »

Thanks, I noticed that there is a realtime button for graphs but it isn't working. It just shows a rotating circle. Shouldn't it pop up a window like before?
I thought it was a bug that the plugin installed incorrectly.
Anything to try?
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by cigamit »

No it doesn't pop up a window anymore. Now it does the realtime graph in place of the old one. You may want to check your Cacti log, most likely it can't write to the cache directory.
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by majedz »

Cacti log shows irrelevant information and the cache directory has 775 permissions. it was owned by nagios nagios, i changed the owner to cactiuser and then root but still waiting. anything else to try? and I want them to popup to move them to the second screen for monitoring!
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by majedz »

sorry for being rude, my system is gentoo
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
cjolly3053
Posts: 48
Joined: Thu Jan 06, 2011 9:30 am
Location: Nashville, TN
Contact:

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by cjolly3053 »

In settings under the "visual" tab do you have a green check mark????

That's where you specify the directory.

My permissions for that directory is drwxrwxr-x
Attachments
realtime.JPG
realtime.JPG (22.95 KiB) Viewed 1785 times
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by majedz »

Thank you for your input.
the directory was /var/www/localhost/htdocs/cacti/rcache with an x beside it since there is no such folder.
i changed it to /var/www/localhost/htdocs/cacti/cache/realtime and a green check appeared after saving. the folder contained 2 files which got deleted for some reason.
the directory permission are:
drwxrwxr-x 2 cactiuser nagios 4096 Mar 9 16:50 realtime
we are getting closer to solving the problem but there is still no realtime graphing.
any more clues?
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
cjolly3053
Posts: 48
Joined: Thu Jan 06, 2011 9:30 am
Location: Nashville, TN
Contact:

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by cjolly3053 »

I see the directory has " cactiuser nagios "

What does the /rra/ directory has as owner???
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by majedz »

drwxrwxr-x 2 cactiuser nagios 20480 Feb 27 09:38 rra
other directories are owned by nagios nagios
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

Re: Plugins not showing up after upgrading to 1.0.3 then 1.0

Post by majedz »

I solved the problem by
chown cactiuser:apache /var/www/localhost/htdocs/cacti/ and all the folders and files inside also.
but there needs to be an option for it to popup because opening it in a new window takes too much space.
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests