Hosts and services viewable based on individual authentication
Cian O'Sullivan
cian at logic.bm
Wed Apr 23 20:10:11 CEST 2003
Sorry for the attached reply mail. My BAd.
I am Subhendu has confused me a bit with the contacts. If I setup a contact for each host, will only the hosts viewable by that contact be visible?
IN otherwords, I add the username and password to my LDAP databse, They authenticate, and then how does the cgi.cfg read which hosts the user logged in will be able to look at?
I had to hack the cricket cgi to do the same thing (well borrowed a few hacks and added a little garnish on the side)
Is my question making sense?
USER A logs in, and clicks Status Summary, it will only show his 3 circuits, and 2 servers, even though Nagios is watching 800 +
Cheers
Cian
-----Original Message-----
From: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net]
Sent: Wednesday, April 23, 2003 1:19 PM
To: Subhendu Ghosh; Nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Hosts and services viewable based on
individual authentication
I think he is wanting to do a more detailed scheme. As far as I know
the contacts are setup in the cgi.cfg for all hosts and all services and
all host commands etc... He seems to want to so things that maps a
contact to a single host or hostgroup (??). Im not sure if its
possible, as far as I can tell you would have to hack at the cgi's
source, but I could be wrong.
-----Original Message-----
From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
Sent: Wednesday, April 23, 2003 10:56 AM
To: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Hosts and services viewable based on
individual authentication
On Wed, 23 Apr 2003, Cian O'Sullivan wrote:
> Hello,
>
> I have about 800 hosts that are being watched by Nagios. I want to
> give individuals access to their own hosts, and be able to generate
> reports, or schedule downtime for their hosts on an individual host by
> host basis.
>
> user a
> user b
> user c
>
>
> host a
> host b
> host c
>
> Can I have it so someone logs in, and based on their username it will
> only display "host a" if user a logged in?
>
> I currently have a system like this working for Cricket, where the cgi
> looks at your logged in name, and will only display hosts listed in a
> database for that user.
>
> Any comments on this?
>
> Cheers
>
> cian
>
Isn't this what we use contacts for? - of course you will needs more
contact groups at that granularity.
--
-sg
BTW: It would be nice to start a new message instead of replying to an
different thread of conversation. Breaks all the MUA and archive
threading.
-sg
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
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
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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