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: 3367
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: 1101
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: 1101
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! :)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Reportit plugin installation issue

Post by TheWitness »

We released 1.1.4 and are now actively working on 2.0. it'll be a larger update.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests