toggle for all hosts/services vs my hosts/serivices.

6 views
Skip to first unread message

Steve Traylen

unread,
Jan 12, 2019, 2:54:02 AM1/12/19
to Thruk
Hi,

Been using thruk for first time last few weeks - I really wish I had done that sooner.

Feature request , I always think it would be great to able to switch modes as user
in the web interface between 'all hosts' and 'my hosts'

Essentially  allow the user who has global access via 

authorized_for_all_hosts=*

to reduce them selves to 

authorized_for_all_hosts=

Sometimes it's useful to look at all hosts, sometimes I just want to see my hosts.

Steve

Sven Nierlein

unread,
Jan 12, 2019, 5:19:55 AM1/12/19
to th...@googlegroups.com, Steve Traylen
Hi,

Thanks :-) just spread the word, so others don't have to wait as long as you.

There are several ways to achieve something like that:

- change the side navigation to include a filter on the current contact name,
the menu_local.conf is perl, so the current username is available
via $c->stash->{'remote_user'}
see https://thruk.org/documentation/menu.html
- you can use the default_service_filter setting to apply a default filter to
all pages that don't have a filter yet. But this is name based and only
for services.
https://thruk.org/documentation/configuration.html#default_service_filter
- then there are bookmarks were you can simply store custom searches in your
side navigation.

Cheers,
Sven
> --
> You received this message because you are subscribed to the Google Groups "Thruk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com <mailto:thruk+un...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages