sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
408 stars 148 forks source link

Thruk show partial hostgroup #795

Closed malcombecerra closed 6 years ago

malcombecerra commented 6 years ago

hi everyone,

we have an issue with the show of the hostgroup, i read about this in some other plattforms like icinga, the problem is about the contact can see another hostgroup without have their autorization to all members of this group, i see this like "show_partial_hostgroup" we need the opposite of this, cuz we have a lot of clients that see his hosts and they see another hostgroups that not asiggned for them, and this cause a little confussion.

this logic can be applied to thruk?

sni commented 6 years ago

No, this is not possible. You will see all hostgroups where you have access to at least one host. However, sending hostgroup commands is only allowed if you have command access to all hosts in this group.

steaksauce- commented 6 years ago

Two potential fixes to your scenario:

malcombecerra commented 6 years ago

on this scenario, we have nagios with modgearman for backend and distributed monitoring, and for the frontend mk-livestatus with thruk.

the second option that you mention is not applicable for us , and for the first one, i don't understand how can we make it,

can you put some links to how to make the first option that you mentioned?

steaksauce- commented 6 years ago

The first option would likely require some migration steps. OMD is pretty vast, and I would recommend checking out the project page.

However, you state that you are using livestatus, which you can totally add additional livestatus backends to Thruk. Just replace 'naemon' in my suggestion with 'nagios' :)

From Thruk: System > Config Tool > Backends / Sites > Add new connection Type: livestatus

malcombecerra commented 6 years ago

that isn't an option for us use more backends, cuz we distribute the monitoring with mod_gearman, using a central nagios with workers

steaksauce- commented 6 years ago

Completely missed that part, even though you stated it before.

I'm afraid that I do not have any experience with mod_gearman :(