Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Hide Maps in Cacti Tab?

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
Tybio
Cacti User


Joined: 16 Feb 2006
Posts: 79

PostPosted: Sun Nov 18, 2007 2:03 pm    Post subject: Hide Maps in Cacti Tab? Reply with quote

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

PostPosted: Sun Nov 18, 2007 2:30 pm    Post subject: Re: Hide Maps in Cacti Tab? Reply with quote

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

PostPosted: Sun Nov 18, 2007 2:49 pm    Post subject: Reply with quote

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

PostPosted: Sun Nov 18, 2007 3:17 pm    Post subject: Reply with quote

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

PostPosted: Tue Nov 20, 2007 7:51 pm    Post subject: Reply with quote

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

PostPosted: Tue Nov 20, 2007 8:11 pm    Post subject: Reply with quote

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

PostPosted: Tue Nov 20, 2007 9:06 pm    Post subject: Reply with quote

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

PostPosted: Thu Jan 08, 2009 8:16 pm    Post subject: Reply with quote

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

PostPosted: Fri Jan 09, 2009 2:53 am    Post subject: Reply with quote

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

PostPosted: Fri Aug 28, 2009 4:56 pm    Post subject: Reply with quote

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

PostPosted: Fri Aug 28, 2009 7:01 pm    Post subject: Reply with quote

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

PostPosted: Mon Aug 31, 2009 12:17 pm    Post subject: Reply with quote

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

PostPosted: Mon Aug 31, 2009 12:21 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group