Re: [Nagios-devel] Reduce some code duplication
Posted: Thu Jan 13, 2011 1:58 pm
On 01/13/2011 01:43 PM, Stephen Gran wrote:
> Hi,
>
> I'm looking slightly longer term at extending cgi.cfg to support using
> contact_group names in the authorized_for* settings, and this is step
> one on the road. If someone thinks the above is a bad idea (or if reuse
> of code is a bad idea) let me know and I'll stop.
>
There's one problem with this approach;
The users in cgi.cfg don't have to be contacts. They only have to be able
to log in to Nagios.
With that in light, I wonder what happens when eu-admins is both a user
(from the apache view of things) as well as a contactgroup, but not a
contact. That's one of the things that absolutely has to keep working,
or a lot of people's setups will break.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> Hi,
>
> I'm looking slightly longer term at extending cgi.cfg to support using
> contact_group names in the authorized_for* settings, and this is step
> one on the road. If someone thinks the above is a bad idea (or if reuse
> of code is a bad idea) let me know and I'll stop.
>
There's one problem with this approach;
The users in cgi.cfg don't have to be contacts. They only have to be able
to log in to Nagios.
With that in light, I wonder what happens when eu-admins is both a user
(from the apache view of things) as well as a contactgroup, but not a
contact. That's one of the things that absolutely has to keep working,
or a lot of people's setups will break.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]