Nagios Host/Service viewing permissions
Posted: Wed Apr 18, 2018 7:57 am
Hi,
I'm having trouble with restricting the items visible within Nagios Core 4.3.4.
From what am seeing it would appear that a service is visible to a contract group if they are listed in the contact groups at either the host or the service level.
I was hoping for more fine grained control than this, so maybe it's a configuration issue on my part.
Here is an overview of what I'm trying to achieve.
We want our Help Desk to be able to see the availability of all of our production hosts (the check-host-alive check).
Therefore I have included the Help Desk contact group in contact_groups setting for the production hosts.
However, on these production hosts, we want to limit the Help Desk's view of the services monitored.
For example, we want the Help Desk to see the C: drive space check service, but the D: drive space check would only be available to the application support team, as they are better placed to both judge the impact and resolve the issue.
I therefore included the Help Desk in the contact_groups for the C: drive check, but not the D: drive check.
However, it seems that, because the Help Desk contact group is enabled for the host, it can therefore see all services defined for that host.
I tried using !helpdesk in the contact_groups at the service level, but Nagios complains when I run the configuration check.
Is what I'm trying to do achievable?
Regards,
Rob
I'm having trouble with restricting the items visible within Nagios Core 4.3.4.
From what am seeing it would appear that a service is visible to a contract group if they are listed in the contact groups at either the host or the service level.
I was hoping for more fine grained control than this, so maybe it's a configuration issue on my part.
Here is an overview of what I'm trying to achieve.
We want our Help Desk to be able to see the availability of all of our production hosts (the check-host-alive check).
Therefore I have included the Help Desk contact group in contact_groups setting for the production hosts.
However, on these production hosts, we want to limit the Help Desk's view of the services monitored.
For example, we want the Help Desk to see the C: drive space check service, but the D: drive space check would only be available to the application support team, as they are better placed to both judge the impact and resolve the issue.
I therefore included the Help Desk in the contact_groups for the C: drive check, but not the D: drive check.
However, it seems that, because the Help Desk contact group is enabled for the host, it can therefore see all services defined for that host.
I tried using !helpdesk in the contact_groups at the service level, but Nagios complains when I run the configuration check.
Is what I'm trying to do achievable?
Regards,
Rob