Cacti / plugin_reportit

ReportIt Plugin for Cacti
GNU General Public License v2.0
7 stars 8 forks source link

error accessing #102

Open bonj1987 opened 1 year ago

bonj1987 commented 1 year ago

i just installed this on 1.2.23. followed the directions.. but i get this when trying to go to mgmt\reports Sorry, we could not process your last action. Error: 401 Permission Denied Reason: You are not permitted to access this section of Cacti. If you feel that this is an error. Please contact your Cacti Administrator.

the instructions say to go to utilities\user mgmt and adjust your realm.. i think that should read configuration\users that said.. im logged in as an admin and have access to everything in cacti, but keep getting that error.

bonj1987 commented 1 year ago

can anyone take a look at this for me? let me know if i need to do anything to fix this?

TheWitness commented 1 year ago

Show us the user "Permissions Tab".

bonj1987 commented 1 year ago

USERPERMS Here you go. user perms for the admin account, which I am using.

lutfisan commented 1 year ago

image identical mistake occurs here.

ck-australia commented 1 year ago

Did you ever get this sorted Im having the same issue

bonj1987 commented 1 year ago

nope

TheWitness commented 1 year ago

Does your plugin_realms table look similar to this?

MariaDB [cacti]> select * from plugin_realms where plugin='reportit';
+-----+----------+--------------------------------------------+----------------------+
| id  | plugin   | file                                       | display              |
+-----+----------+--------------------------------------------+----------------------+
| 160 | reportit | view.php,charts.php                        | View Reports         |
| 161 | reportit | reports.php,rrdlist.php,items.php,run.php  | Create Reports       |
| 162 | reportit | templates.php,measurands.php,variables.php | Administrate Reports |
+-----+----------+--------------------------------------------+----------------------+
ck-australia commented 1 year ago

No I have nothing related to ReportIT in that table at all.

TheWitness commented 1 year ago

That means that the plugin did not install properly. What version of the plugin are you using?

TheWitness commented 1 year ago

Show up on the plugin page like this for me.

image

ck-australia commented 1 year ago

Plugin version is 1.1.3

TheWitness commented 1 year ago

Upload a screen shot. Then, if it's a fresh install, uninstall and re-install it. Look to the Cacti log immediately and look for errors.

ck-australia commented 1 year ago

image Will remove and reinstall it and post any errors

ck-australia commented 1 year ago

Removed and reinstalled it with no errors at all. image

bonj1987 commented 1 year ago

i ran that same query.. came up with nothing.. i did a select from the plugin_realms table.. doesnt even show reportit plugins

TheWitness commented 1 year ago

I'll see what I can do tonight. This issue does not seem something that @browniebraun needs to intervene on. It appears to be plugin install/uninstall related. Been trying to take some time away from Cacti to recharge the batteries.

bonj1987 commented 1 year ago

any update by chance?

TheWitness commented 1 year ago

I'm looking into it tonight. I know what happened, just need to fine out where and why now.

TheWitness commented 1 year ago

Try re-installing again. It should be working now.

ck-australia commented 1 year ago

Confirmed all good mate cheers

TheWitness commented 1 year ago

Screen shots?

bonj1987 commented 1 year ago

confirmed i can get into it. now i have to figure out how to create the reports. the documention isnt very clear.. for example, if i want to create a report showing disk space on a group of servers, i added the graphs to a report, but when i run it i get errors that the RRD files dont exist. i can throw up a screen shot if you like.