Configure Nagios To Alert Depending On Host Group That Service Alert Originates From
- by StrangeWill
So my setup:
Services are shared between all hosts (CPU/RAM/Disk/Services).
Hosts are split into two main groups: "Production" and "Development".
We have two contact groups: "Production" and "Development".
Lets say my development SQL server runs low on RAM, I want it to only alert those in "Development" contact group (this service is of course assigned to a host in the "Development" host group, using the shared RAM monitoring service).
I'm pretty much stumped on this... I can't configure it at the service level (they're shared there), and I can't seem to get escalations to do it for me either...
Do I need to use service groups along with escalations and bite the bullet on building that list? Or am I missing something stupidly simple?
I'm using Centreon for configuration if that helps.