Configure Nagios To Alert Depending On Host Group That Service Alert Originates From
Posted
by
StrangeWill
on Server Fault
See other posts from Server Fault
or by StrangeWill
Published on 2012-10-02T02:20:12Z
Indexed on
2012/10/02
3:40 UTC
Read the original article
Hit count: 517
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.
© Server Fault or respective owner