Dear all,
I work at University. We have some physical infrastructure we want to provide for external users. I'm responsible for monitoring system. I've prepared some scripts for automatic user (and related data - hostgroups etc) creation. I have problem with creating personalized Screens for common hosts with lots of graphs (e.g. switches).
For example, let me assume that I have 20 switches available for users - the switches are in CORE-hostgroup (for admin (read-write)). When I create an user who asked for interfaces on Switch1 and Switch2 I add these two switches to CORE-hostgroup.userX (for userX (read)).
Let me assume that each switch has 100 interfaces. I know which interfaces the user uses, so there is no need to present him all the data. I can create personalized Screen "SwitchesInterfaces.userX" that presents graphs for network traffic on e.g. interfaces ge-0/0/0, ge-0/0/7 on Switch1 and ge-0/0/0, ge-0/0/1, ge-0/0/2, ge-0/0/3 on Switch2. That works nice, but...
UserX has access to many Screens "SwitchesInterfaces.userX/Y/..." - not only to the X'th one. As far as I recognized the problem: if an user has access to a hostgroup containing a host, he has also access to all screens with this host data. I don't want that.
The only idea I have is to duplicate a switch instance in zabbix, and add the duplicate to the CORE-hostgroup.userX as a NEW ONE switch, e.g. Switch1.userX.
This solution has 3 disadvantages:
1. creates multiple instances of SwitchX in my admin view (but OK, I can swollow that),
2. is very redundant. Zabbix will have to monitor many instances of THE SAME switch (and each switch has 1000 SNMP items ...).
3. most important - zabbix does not use info obtained from Switch1 for Switch1.userX, including Network interfaces, so I can't add a graph with Network Traffic on particular interface to a screen immediately (it tooks ~1h to get the SNMP data).
Is there another way, to get what I want ?
Regards,
Kadi
I work at University. We have some physical infrastructure we want to provide for external users. I'm responsible for monitoring system. I've prepared some scripts for automatic user (and related data - hostgroups etc) creation. I have problem with creating personalized Screens for common hosts with lots of graphs (e.g. switches).
For example, let me assume that I have 20 switches available for users - the switches are in CORE-hostgroup (for admin (read-write)). When I create an user who asked for interfaces on Switch1 and Switch2 I add these two switches to CORE-hostgroup.userX (for userX (read)).
Let me assume that each switch has 100 interfaces. I know which interfaces the user uses, so there is no need to present him all the data. I can create personalized Screen "SwitchesInterfaces.userX" that presents graphs for network traffic on e.g. interfaces ge-0/0/0, ge-0/0/7 on Switch1 and ge-0/0/0, ge-0/0/1, ge-0/0/2, ge-0/0/3 on Switch2. That works nice, but...
UserX has access to many Screens "SwitchesInterfaces.userX/Y/..." - not only to the X'th one. As far as I recognized the problem: if an user has access to a hostgroup containing a host, he has also access to all screens with this host data. I don't want that.
The only idea I have is to duplicate a switch instance in zabbix, and add the duplicate to the CORE-hostgroup.userX as a NEW ONE switch, e.g. Switch1.userX.
This solution has 3 disadvantages:
1. creates multiple instances of SwitchX in my admin view (but OK, I can swollow that),
2. is very redundant. Zabbix will have to monitor many instances of THE SAME switch (and each switch has 1000 SNMP items ...).
3. most important - zabbix does not use info obtained from Switch1 for Switch1.userX, including Network interfaces, so I can't add a graph with Network Traffic on particular interface to a screen immediately (it tooks ~1h to get the SNMP data).
Is there another way, to get what I want ?
Regards,
Kadi