We have a host that goes offline every night from 02:30 until 02:40. So it sends me an SMS message and wakes me and my wife up, every single day. I have tried remedying this problem by creating a different notification and also by specifying the downtime but no matter what I do, I fail every single time.
apply Notification "justsupport" to Host {
import "mail-host-notification"
user_groups = [ "support" ]
assign where host.vars.sla == "24x7x9"
}
My phone number is tied into my user and is a member of the icingaadmins group
Does anyone know why the service PING keeps notifying me even though i’ve defined that the host shouldn’t ever notify me and also specified that the host goes offline from 02:30 to 02:40 every single day?
We have a host that goes offline every night from 02:30 until 02:40. So it
sends me an SMS message and wakes me and my wife up, every single day. I
have tried remedying this problem by creating a different notification and
also by specifying the downtime but no matter what I do, I fail every
single time.
I can’t figure out how to reply with quote so I apologize if this is hard to understand.
“24x7x9” is just what the variable is called, it doesn’t have any actual real world meaning.
I don’t expect that I would receive service notifications for this host because I have configured the host to not notify me. Doesn’t the host override the individual services on the host?
@bmf614
please show the configuration of the users/groups that are being /should (not) be notified.
Also please show the config of the notification template.
Being notified for the service “ping” indicates that you have more notification apply rules implemented. Maybe just the ones from the sample configuration und /etc/icinga2/conf.d.
Keep in mind that a host object is something different from a service object (which “belongs” to a host object). A host object typically is check by a ping/icmp check, making a separate service check with a ping command obsolete (imo).