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: 2059
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: 2059
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: 2059
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
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