Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Jul 22, 2017 9:33 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Aggregate - Color Templates - Realm Option/Cannot Edit
PostPosted: Mon Dec 05, 2016 6:19 am 
Offline

Joined: Mon Apr 18, 2005 6:17 pm
Posts: 14
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 -
Attachment:
File comment: Screenshots
Details of system.pdf [289.24 KiB]
Downloaded 40 times


Top
 Profile  
 
 Post subject: Re: Aggregate - Color Templates - Realm Option/Cannot Edit
PostPosted: Mon Dec 26, 2016 8:52 am 
Offline
Cacti User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 413
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.


Top
 Profile  
 
 Post subject: Re: Aggregate - Color Templates - Realm Option/Cannot Edit
PostPosted: Tue Dec 27, 2016 4:14 pm 
Offline

Joined: Mon Apr 18, 2005 6:17 pm
Posts: 14
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:
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group