goetzk / ansible-shinken

Ansible configuration role for Shinken monitoring system
1 stars 2 forks source link

Does not update contact groups #5

Open goetzk opened 7 years ago

goetzk commented 7 years ago

Notifications aren't sent correctly because contact groups aren't updated by the role.

cat contactgroups/*
define contactgroup{
    contactgroup_name   admins
    alias               admins
    members             admin
}

define contactgroup{
    contactgroup_name   users
    alias               users
    members             admin
}

Thought: anyone marked is_admin should go in admins, everyone should be in users.

TBC.

goetzk commented 7 years ago

Building a list of contacts who's is_admin flag is set to 1 and passing that list to the template has turned out to be harder than I thought; I will have to revisit this another time.