PDA

View Full Version : contactgroups per servicegroup


Prometheus
12-01-2005, 01:36 PM
Hi,

Oreon allows to define different contactgroups for each host group.
I need different contactgroups for each service group.

Could you implement this feature or does someone know a way to do this?
(To use a template model for each service group is no solution because I have a lot of service groups and often to change my default values for the services.)


thanks,
peter

DonKiShoot
12-01-2005, 04:51 PM
For feature request, you can see here : http://bugs.oreon-project.org/

Prometheus
06-16-2006, 03:43 PM
"The reason for closing is: Won't implement
no possible implementation in 1.2.3"

So I implemented it by myself (for oreon-1.2.3-RC4). :-)
The implementation is quick and dirty and has comments mainly in german. If someone really is interested in using my code, I will translate and help him as good as possible.
See the attached file.
To be able to use the extension, you have to change your database with the following command:
USE oreon;
ALTER TABLE servicegroup ADD sg_contacts varchar(200) NULL DEFAULT NULL;


Greets,
Peter

DonKiShoot
06-16-2006, 04:42 PM
Thank you !