Aggregate - Color Templates - Realm Option/Cannot Edit

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
akirkby
Posts: 15
Joined: Mon Apr 18, 2005 6:17 pm

Aggregate - Color Templates - Realm Option/Cannot Edit

Post by akirkby »

Hi,

Cacti Version: 0.8.8b
Plugin Architecture Version: 3.1

I am having an issue with CactiEZ 0.8.8.b and the Aggregate Plugin 1.01 - I can generate Aggregate Graphs without issue, however, I would like to be able to customize the color templates. I can access the Color Templates menu from the side bar, I can see existing templates and I can create a new template, however, If I try and add a line to the new template or click on a line in an existing template I get a 'Access Denied' error.

I have checked in User Management but there is no entry in Realm Permissions other than 'Plugin -> Aggregate Administrator' which I already have access to. There is no entry for 'Plugin Aggregate -> Create Color Templates' as suggested in the documentation (Page 4). I checked through the release notes and there was a suggestion that users needed to have access to Realm ID '72' - "Realm ID is 72 for Cacti 0.8.6, needed to _manage_ Color Templates.", checking my user this was not granted in the DB - I have added it manually but the issue still remains.

I see in the forums that this issue has been raised a couple of times before but I don't see any resolutions.

Can anyone please assist?

Andy

Please see attached screenshots -
Details of system.pdf
Screenshots
(289.24 KiB) Downloaded 144 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Aggregate - Color Templates - Realm Option/Cannot Edit

Post by Osiris »

The realm is dynamic. If you look at the form I'd of the real u sung browser debug mode, add 100 to that number, and that is your realm.
Before history, there was a paradise, now dust.
akirkby
Posts: 15
Joined: Mon Apr 18, 2005 6:17 pm

Re: Aggregate - Color Templates - Realm Option/Cannot Edit

Post by akirkby »

I have now found the cause of this issue. It appears that the database entry that controls access to the various components of the 'aggregate graph' plugin has a typo -

Code: Select all

color_templates.php,color_template_items.php,aggregate_templates.php,aggregate_graphs.php,aggregate_items.php

color_templates.php,color_templates_items.php,aggregate_templates.php,aggregate_graphs.php,aggregate_items.php
                                  ^
                                  |
                                  The name of the file used to edit the colors is wrong,
the top line is what is entered into the database when the application is installed, the
bottom line has been edited and the color template editor now works correctly.
I corrected this by installing phpMyAdmin and editing the plugin_realms table directly.

Andrew
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest