I do something very similar with different users. But depending it's
kind of a roundabout way of doing it....
Create the different login users with admin account and assign them
their maps... ie networking, servers, environment, etc.
In default.asp I put this in 3 places, you should easily see where:
<%IF% (%MATCH% (%USER% USER_NAME, hotline ))>
<%include% hotline.asp>
<%ELSEIF% (%MATCH% (%USER% USER_NAME,
networking
))>
<%include% networking.asp>
<%ELSEIF% (%MATCH% (%USER% USER_NAME, admin ))>
<%include% admin.asp>
<%ELSEIF% (%MATCH% (%USER% USER_NAME, server
))>
<%include% server.asp>
<%ELSE%>
<%include%
ErrorUnauthorizedAccess.asp>
<%ENDIF%>
Now copy topview.asp to the individual files. The only reason I do
this is so I can name different devices and applications. IE: you
don't
want server, services down, etc... on networkings page, and vice versa.
I also added into the user page a small script to add the user into
default.asp when the user is created. We use this so we can assign
maps
to individual users of each team (networking, application, server,
etc.)
and have them see only what's associated with their individual maps.
For instance... when networking user logs jdoe is created, he's under
the networking group (just used for assigning the main networking.asp
-orig topview.asp). So he sees for titles Networking Device, Status,
Device Type, Status, Interfaces Down. But when user jdirt logs in
under
the server group, he sees Server Group (we have them associated into
individual groups), Servers Down, Services Down etc, and doesn't see
the
networking side of the map (unless a portion of the network directly
affects his servers, but dependencies can help clear up that issue
some)
This lets you customize your group's pages so they see only the
information relevant to their group. All I had to do was create a
master "admin" account to load every map for all users, that way they
can access whichever maps you allow them.
Screenshots available if you would like to see how it works...
Bryan
>>> [EMAIL PROTECTED] 4/28/2004 9:50:34 AM >>>
See if I can explain this.....
Using WUG 8.03HF. I am using a modified mapdetails.asp file which
scrolls
the down device and services. This works great.
I want to add another map and user with a select group of servers not
in the
other maps. If a server goes down I want it to scroll on the other
user's
browser - not on the HelpDesk's browser. Right now it scrolls on the
HelpDesk browser but only the minutes.... Weird.
Also, is it possible to "not" have this map show up in the TopView??
The code I am using is:
<%START_LOADED_MAP_LIST%>
<%START_DEVICE_LIST%>
<%IFNOT% IS_DEVICE_UP>
<%IFNOT% (%MATCH% (%DEVICE%
HOST_TYPE,"Subnet"))>
<%IFNOT% (%MATCH% (%DEVICE%
HOST_TYPE,"Container"))>
<%IF% (%LESSTHAN% (%DEVICE%
CURRENT_DOWN_COUNT, 2))>
<a href=device.asp?map=<%MAP%
FILENAME>&device=<%DEVICE%
UNIQUE_ID>><FONT FACE="ARIAL"
SIZE=4
COLOR=GREEN>
<%DEVICE% DISPLAY_NAME>
<%ELSEIF% (%LESSTHAN% (%DEVICE%
CURRENT_DOWN_COUNT, 4))>
<a href=device.asp?map=<%MAP%
FILENAME>&device=<%DEVICE%
UNIQUE_ID>><FONT FACE="ARIAL"
SIZE=4
COLOR=PINK>
<%DEVICE% DISPLAY_NAME>
<%ELSE%>
<a href=device.asp?map=<%MAP%
FILENAME>&device=<%DEVICE%
UNIQUE_ID>><FONT FACE="ARIAL"
SIZE=4
COLOR=RED>
<%DEVICE% DISPLAY_NAME>
<%ENDIF%>
Thanks!
Scott
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/