Advanced permissions/user properties

Hugo van der Kooij hvdkooij at vanderkooij.org
Mon Nov 6 00:02:38 CET 2006


On Mon, 6 Nov 2006, Steve Shipway wrote:

> Alex Burger wrote:
> > Leave the groups as they are, but modify the host and service 
> > contact_groups command?  For example:
> >  define host{
> >           host_name               localhost
> >           contact_groups          netops:rw, helpdesk:r
> > }
> > 
> > For backwards compatibility, if no permissions are set, the defaults 
> > would be rw so the following would be the same:
> > 
> > define host{
> >           host_name               localhost
> >           contact_groups          netops, helpdesk:r
> > }
> > 
> > If a user was in both the netops and helpdesk group, the user should 
> > have rw access.
> 
> This is exactly what we need, and the best way I have seen (so far) to
> implement it.  In particular it has backwards compatibility and  does
> not involve an additional directive.  Much simpler to do it via groups
> rather than at a per-user level, and much more maintainable.
> 
> This is the way I'd like to see it implemented in the official tree,
> maybe with a nagios.cfg option to allow you to set the default to be :rw
> or :r (so that once you've fully implemented things you can change
> default to be :r, best to default to the lower level)

To remain in the traditional unix style. How about an eXecute flag?

In this contact it would best be written as Notify flag instead.

So I can have 1 group as nrw (the engineers on call), customer on nr, 
helpdesk on r.

Hugo.

-- 
	hvdkooij at vanderkooij.org	http://hvdkooij.xs4all.nl/
	    This message is using 100% recycled electrons.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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