in the past, for our old Nagios we used a cronjob to trigger daily custom notifications via the Nagios external command file. We used this to test if the correct persons will receive an SMS notification for oncall duty for their respective team and if SMS notification is working at all.
That same approach does not work as intended in checkmk. I tried all combinations of the options “force” or “broadcast”, but the command will either send no notification at all or send notifications to everybody, who currently has not temporarily disabled notifications.
Is it possible to implement a scheduled notification, that behaves identical to a configured notification rule and only alerts the responsible contacts? Did I miss something in the checkmk API, which can trigger notifications?
Or am I missing something regarding the notification settings? All current users have a role, where they can edit their own folder, but can see everything else. When triggering custom alerts, people receive notifications, even if they are not a contact of that host. Do checkmk custom notifications notify users for everything they can see?
Edit: I probably should add, that we’re using a 5 minute notification delay and 1 minute check interval. So fake check results is no option, either.