Nagios Web interface show hosts/services status to specific/contacts user only, not all hosts/services

Ortner, Gerald Gerald.Ortner at gespag.at
Mon Apr 27 10:52:38 CEST 2009


 

Von: mohandas.k at tcs.com [mailto:mohandas.k at tcs.com] 
Gesendet: Montag, 27. April 2009 09:27
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] Nagios Web interface show hosts/services status
to specific/contacts user only, not all hosts/services

 


Hi All, 

I have created two contacts/contacts groups and associated these two
groups in host template so notification will go to concern team only for
referenced servers. 

I want to know how can we give nagios web interface access/permission to
specific contacts/groups so that they can see their referenced servers
only not all ? 

Let me elaborate requirement -: 

"A" user who is owner of ABC server can see status of ABC host only in
nagios web interface not all monitored hosts.   

if I am not wrong we will have to make changes in cgi.cfg, but not sure
what need to change. 




=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you
 
 
 
Hi,
 
Which nagios version do you use?
 
For 2.6 
 
for view access  you have to edit 
authorized_for_all_services 
authorized_for_all_hosts
 
in your cgi.cfg
 
# GLOBAL HOST/SERVICE VIEW ACCESS
# These two options are comma-delimited lists of all usernames that
# can view information for all hosts and services that are being
# monitored.  By default, users can only view information
# for hosts or services that they are contacts for (unless you
# you choose to not use authorization). You may use an asterisk (*)
# to authorize any user who has authenticated to the web server.
 
 
for command access(e.g. disable active check,...)
edit
authorized_for_all_service_commands
authorized_for_all_host_commands
 
# GLOBAL HOST/SERVICE COMMAND ACCESS
# These two options are comma-delimited lists of all usernames that
# can issue host or service related commands via the command
# CGI (cmd.cgi) for all hosts and services that are being monitored.
# By default, users can only issue commands for hosts or services
# that they are contacts for (unless you you choose to not use
# authorization).  You may use an asterisk (*) to authorize any
# user who has authenticated to the web server.
 
 
 
 




OOe. Gesundheits- und Spitals-AG
Techcenter, Hafenstrasse 47-51, 4020 Linz
DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090427/be40f296/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list