I have around 550 devices and I need to hide some devices in the Monitor Tab for some users.
This user is a client and like to see when the devices are up or down and he also want to have access to the graph in his devices.
I know I can show him the graphs in some devices and hide the rest but I don't want that he look the other devices of my other clients.
Is this possible?
thanks in advance.!
How to Hide Devices in the Monitor Tab for a user.
Moderators: Developers, Moderators
Re: How to Hide Devices in the Monitor Tab for a user.
...
Last edited by ftorres on Mon Jun 13, 2011 12:57 pm, edited 2 times in total.
Re: How to Hide Devices in the Monitor Tab for a user.
If you already restrict users so they can view graphs permitted,
simply select "Default with permissions" for grouping.
For example...
When admin logged in, total graph tree looks like this:
I want to permit user to view under "Test Tree" but not to see Switch-2.
I set graph permissions for user as follows:
When user logged in, the result is:
And when user clicked 'monitor' tab:
NOTICE:
I tested the above at Cacti 0.8.7g + PA 2.9 + monitor 1.2-1.
If it doesn't work properly (e.g. All hosts are displayed in monitor tab),
modify "plugins/monitor/monitor.php" as follows:
simply select "Default with permissions" for grouping.
For example...
When admin logged in, total graph tree looks like this:
I want to permit user to view under "Test Tree" but not to see Switch-2.
I set graph permissions for user as follows:
When user logged in, the result is:
And when user clicked 'monitor' tab:
NOTICE:
I tested the above at Cacti 0.8.7g + PA 2.9 + monitor 1.2-1.
If it doesn't work properly (e.g. All hosts are displayed in monitor tab),
modify "plugins/monitor/monitor.php" as follows:
(at line 817, 880, 935) toif (read_config_option("global_auth") == "on") {
It seems that "global_auth" is not exist in latest Cacti.if (read_config_option("global_auth") == "on" || read_config_option("auth_method") != 0) {
Re: How to Hide Devices in the Monitor Tab for a user.
noname Thanks for the response...
I will update the Monitor Plugin and try your solutions...
I will update the Monitor Plugin and try your solutions...
Who is online
Users browsing this forum: No registered users and 3 guests