I’ve been going round circles for a while - I’m hoping someone will be able to tell me if what I’d like to do is even possible…?
So…
- I have a number of hosts.
- Each host has a custom variable ‘notification_groups’ which is a ‘Director Object’ array, containing one or more UserGroups.
- These user groups contain users.
- The users have custom variables defined, like mobile number, email, various push-API tokens (pushover, slack, prowl, telegram).
I’ve written a number of notification scripts: a host and service script for each method.
How on earth do I apply them? I’m thinking it must be really obvious (or impossible).
Any help anyone could give me would be HUGELY appreciated. Thanks!