Display All Services for a specific contactgroup
Posted: Tue Sep 07, 2021 5:20 am
Hi,
Hope someone can help.
I have about 10 different contactgroups to allow notifications for different aspects of the system eg: network system dev
I want to be able to list the services that are defined for a specific contactgroup
IE: Show all service belonging to the network contact group
I have tried playing around with config.cgi but no luck
I thought about writing a script that looks in the *.cfg files but that looks very difficult trying to figure out where all the contacts are defined.
Does anyone have an ideas on how I can achieve this.
Thanks in advance
Pete
Hope someone can help.
I have about 10 different contactgroups to allow notifications for different aspects of the system eg: network system dev
I want to be able to list the services that are defined for a specific contactgroup
IE: Show all service belonging to the network contact group
I have tried playing around with config.cgi but no luck
I thought about writing a script that looks in the *.cfg files but that looks very difficult trying to figure out where all the contacts are defined.
Does anyone have an ideas on how I can achieve this.
Thanks in advance
Pete