I'm monitoring a host on a 24x7 basis with the server admins receiving emails about the host state changes 24x7 every 5 minutes. A secondary group also wants to know about the same host. During business hours (8 - 5), they want to know that the host is down within 15 minutes. After hours they want to only know about host changes every hour.
A third group defines business hours differently(7am - 9pm) than the second, and only wants 30 minute interval notifications during the business day.
Short of defining several hosts that monitor the same thing, but with different alerting criteria, is this possible? I really don't want to inflate the host count, or make multiple redundant calls to monitor the exact same things for each group.
monitoring a single host for different tenant groups
Re: monitoring a single host for different tenant groups
To add to the information, I initially created multiple templates for each monitoring/alerting/group definition, and applied them with ordering to the host in question, but...
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: monitoring a single host for different tenant groups
Hello, @jwgill. I definitely like the logic you're suggesting but I don't think it's possible to set this up with regular notification settings in XI. It is theoretically possible to write a custom event handler script that would determine the alert time and send an email only when certain conditions are met. That would require some coding expertise. If you'd like our assistance with this custom feature you could contact the sales for a quote. Otherwise, here is a general manual explaining event handlers in XI.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.