|
|
| Author |
Message |
Tybio Cacti User
Joined: 16 Feb 2006 Posts: 79
|
Posted: Sun Nov 18, 2007 2:03 pm Post subject: Hide Maps in Cacti Tab? |
|
|
Howie,
I have about 80 maps being autogenerated by a script, they are linked from a main weathermap...is there some way to hide them from the Thumbnail Overview so people don't have to filter trough them to find the top level maps? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 3772 Location: United Kingdom
|
Posted: Sun Nov 18, 2007 2:30 pm Post subject: Re: Hide Maps in Cacti Tab? |
|
|
| Tybio wrote: | Howie,
I have about 80 maps being autogenerated by a script, they are linked from a main weathermap...is there some way to hide them from the Thumbnail Overview so people don't have to filter trough them to find the top level maps? |
If there is literally ONE main map, then yes there is: make the main map the one at the top of the list, then choose "Show Only First" as the display style option in Settings..Misc. If there's more than one, then the answer is no. But you can arrange the maps in a more convenient order using the little sort arrows.
It's also worth noting that Show Only First shows the first map for that user, so if you have different customers who can view different sets of maps, then they can each get their own 'main map' - just make it the first map that they have permission to see. |
|
| Back to top |
|
 |
Tybio Cacti User
Joined: 16 Feb 2006 Posts: 79
|
Posted: Sun Nov 18, 2007 2:49 pm Post subject: |
|
|
| Hurm, I have about 15 maps used regularly by our Operations and Engineering groups. I can do the sort, I'm just worried about page load times. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 3772 Location: United Kingdom
|
Posted: Sun Nov 18, 2007 3:17 pm Post subject: |
|
|
So do you have a feature request? How would like to solve this?
That's quite a few maps, so whatever it is will only be of use to relatively few users, I would have thought. Whatever the solution, it shouldn't get in the way of the smaller users.
Something as simple as visible/not? That would probably need to be per-user, otherwise maps disappear altogether. |
|
| Back to top |
|
 |
Tybio Cacti User
Joined: 16 Feb 2006 Posts: 79
|
Posted: Tue Nov 20, 2007 7:51 pm Post subject: |
|
|
I would like them not to show up for any user. We use an external auth system, so I need to be able to set up the Guest user with the proper access.
What I would like to have happen is for the users to have "Permission" to view the graphs, but not see them in the default "Weathermap" tab. That way I can link them in from top-level maps...without cluttering up the tab and without spending forever loading all the thumbnails.
Is that something that's possible?
Oh, also...would it be possible to get directories under the config/ directory? I have a bunch of script generated maps, and I'd dearly love to sort them into different directories. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 3772 Location: United Kingdom
|
Posted: Tue Nov 20, 2007 8:11 pm Post subject: |
|
|
I can see where you're coming from... the trouble starts where you have multiple customers with their own maps.
I have customer X, with a handful of maps. For my NOC, we don't need to see the thumbnails for all those maps in our view, but the customer does - that's all he knows about. That means it can't just be a global on/off thing.
Suppose there were some kind of filter, like Cacti does for graphs, and that you could set a default filter per-user? It'd mean having something useful in the map title to filter on... (or config filename I suppose).
The real answer is unix-style permissions with view/viewthumb (and maybe edit) as separate rights per-map, per-user. I guess it could be something you enable, and otherwise view==viewthumb. Then it's only painful for the folks that want it
The directories thing probably isn't too much of a problem. |
|
| Back to top |
|
 |
Tybio Cacti User
Joined: 16 Feb 2006 Posts: 79
|
Posted: Tue Nov 20, 2007 9:06 pm Post subject: |
|
|
Hurm, I don't have that problem myself. All of the users are internal and get to view everything...so for me it's a clean interface thing more then a permissions thing.
I see what you mean however, that could get complicated for people who have a bunch of sub-sets of permissions. Not sure how to work that one out  |
|
| Back to top |
|
 |
feds
Joined: 07 Jan 2009 Posts: 12
|
Posted: Thu Jan 08, 2009 8:16 pm Post subject: |
|
|
Has the unix style permissions been added to the current version? Just wondering cause it's exactly what I'm looking for. I'm going to have around 90 maps that won't be accessed by their thumbnails, just by a main map.
Thanks |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 3772 Location: United Kingdom
|
Posted: Fri Jan 09, 2009 2:53 am Post subject: |
|
|
No, there has been exactly one request for it so far. Two, now then.
Generally speaking, it goes (things I want) > (things lots of people ask for) > (things one person asks for)... There's also the rare (things people pay for), but that's only happened once directly, and once indirectly.
I working on finishing 0.96. After that, it's time to work out what goes in 0.97 - there will likely be some reworking of permissions in Cacti then, because I want to add a 'Edit Maps' permission too. |
|
| Back to top |
|
 |
feds
Joined: 07 Jan 2009 Posts: 12
|
Posted: Fri Aug 28, 2009 4:56 pm Post subject: |
|
|
What about tab views, being able to put different maps on different tabs with people having different permissions to the tabs/maps.
Any chance that could get put into the newest version?
Cheers
Cory |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 3772 Location: United Kingdom
|
Posted: Fri Aug 28, 2009 7:01 pm Post subject: |
|
|
| feds wrote: | What about tab views, being able to put different maps on different tabs with people having different permissions to the tabs/maps.
Any chance that could get put into the newest version?
|
Tabs will be in 0.97 - that code is already done. The tabs don't permissions associated with them though - they just disappear if the current user doesn't have permission to see any maps inside them. That doesn't really give you more control than before, but it does make the organisation neater.
Tabs (or groups as they are called in Weathermap) also have settings associated with them, so you can apply settings to all maps in a group to have a 'monthly summary' tab, for example, using the same map files you use for the current data, with a bit of planning. |
|
| Back to top |
|
 |
feds
Joined: 07 Jan 2009 Posts: 12
|
Posted: Mon Aug 31, 2009 12:17 pm Post subject: |
|
|
Thanks Howie, that will be perfect. Any time-line for version 0.97? Now I'm excited, is it going to be out this year or in the first quarter of the new year?
Thanks |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 3772 Location: United Kingdom
|
Posted: Mon Aug 31, 2009 12:21 pm Post subject: |
|
|
| feds wrote: | Thanks Howie, that will be perfect. Any time-line for version 0.97? Now I'm excited, is it going to be out this year or in the first quarter of the new year?
Thanks |
I pushed along a bit with it today (it's a public holiday for me). I would hope during September there will be at least something to test. |
|
| Back to top |
|
 |
|