Reportit plugin installation issue

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
syrus1006
Posts: 7
Joined: Fri Aug 23, 2024 7:17 am

Reportit plugin installation issue

Post by syrus1006 »

Hello Everyone!

I have the 1.2.25 version of Cacti installed on RedHat Linux and also downloaded, and unpacked the necessary tar-file into the plugins folder (/var/www/html/cacti/plugins/). Now I have a folder there called "reportitplugin". The folder's owner is "apache", and has 775 permission granted. (I also tried it with 777). However, when I login to the Cacti GUI the reportit plugin does not show up in the plugin management, so I cannot install it from there. What can cause this kind of issue?

Thanks in advance!
cigamit
Developer
Posts: 3363
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Reportit plugin installation issue

Post by cigamit »

https://github.com/cacti/plugin_reporti ... stallation
The Installation of ReportIt is similar to other plugins:

Unpack the tar-file into the plugins folder. It contains a folder called "reportit".
The folder needs to be named "reportit" not "reportitplugin".
syrus1006
Posts: 7
Joined: Fri Aug 23, 2024 7:17 am

Re: Reportit plugin installation issue

Post by syrus1006 »

I have just renamed it to "reportit", but unfortunately it did not solve the issue. :(
syrus1006
Posts: 7
Joined: Fri Aug 23, 2024 7:17 am

Re: Reportit plugin installation issue

Post by syrus1006 »

One more thing that maybe worth to mention is that, originally I did not have "plugins" folder under /var/www/html/cacti/.
I manually created one.
syrus1006
Posts: 7
Joined: Fri Aug 23, 2024 7:17 am

Re: Reportit plugin installation issue

Post by syrus1006 »

In the meantime, I found out that I have a plugins folder here:
/usr/share/cacti/plugins

Copied it to here and renamed it to "reportit" and now it is working!!

Thanks! :)
syrus1006
Posts: 7
Joined: Fri Aug 23, 2024 7:17 am

Re: Reportit plugin installation issue

Post by syrus1006 »

Unfortunately it was too early to be happy.. :D

Now the plugin is installed, however when I click on "Report" under the "Templates" menu, I get the following message:
"401 Permission Denied"

At the same time, in the logs, I can see the followings:

PLUGIN WARNING: Plugin 'reportit' is attempting to call 'api_plugin_register_realm' improperly in function 'reportit_config_arrays'

Could anyone give me any advices?
User avatar
macan
Cacti Guru User
Posts: 1013
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Reportit plugin installation issue

Post by macan »

try actual version from develop branch
https://github.com/cacti/plugin_reportit
Let the Cacti grow!
syrus1006
Posts: 7
Joined: Fri Aug 23, 2024 7:17 am

Re: Reportit plugin installation issue

Post by syrus1006 »

I have the latest Reportit version installed, 1.1.2.
User avatar
macan
Cacti Guru User
Posts: 1013
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Reportit plugin installation issue

Post by macan »

1.1.2 is last release but it isn't actual code. Go to https://github.com/cacti/plugin_reportit and use Green button "Code"
Let the Cacti grow!
syrus1006
Posts: 7
Joined: Fri Aug 23, 2024 7:17 am

Re: Reportit plugin installation issue

Post by syrus1006 »

Thanks, it solved the issue! :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests