On 18 May 2010, at 12:10, Andrew Hall wrote:
I have created a contact which has a subset of host groups ticked and
all service groups ticked.
But when I log in as that contact I can see a much greater range of
hostgroups than should be allowed.
Which pages are these?
Can you give an example of a host that shouldn't be seen?
If I check the hostgroupid's associated with the contactid in the
opsview.hostgroupnotify table all seems correct.
Which version of Opsview is this?
I can double check this by confirming the hostgroup name against the
id in the opsview.hostgroups table - all seems correct there too.
I can triple check this by confirming the contactgroups section for
that user in contacts.cfg only references the hostgroups mentioned
above.
So my questions are...
1. Are there any other databases / tables I should be querying to
troubleshoot this ?
2. Are there any other flat files I should be checking to
troubleshoot this ?
3. What exactly is the GUI doing to decide what is shown to a user ?
The Nagios screens use the Nagios authentication parameters to return
the list of hosts/services that the contact can see (based on contact
groups).
The /status pages return back the list of services joined with the
opsview_contact_services table which gives a list of all the services
that a particular contact can see. This table is generated at reload
time.
In the roles, can you confirm the role doesn't have the VIEWALL access
associated?
Ton
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users