On 17.06.2014 13:17, Zachary McGibbon wrote:
Hi, amazing work on Icinga 2, I converted my personal system over in about 2
hours!
One thing I noticed is I've configured my check_apt service not to send
notifications (as on some of my systems I have updates every day) and I still
get email notifications, could this be because of the way I have my notify
object setup?
apply Service "apt" {
import "generic-service"
check_command = "nrpe"
assign where "linux_nrpe" in host.groups
vars.nrpe_command = "check_apt"
enable_notifications = false
}
apply Notification "host-email" to Service {
import "service-email"
user_groups = [ "email" ]
assign where host.vars.sla == "24x7"
}
object Host "nbox1" {
import "lan"
address = "192.168.0.38"
groups = [ "lan", "linux_nrpe", "ssh" ]
vars.os = "linux"
vars.sla = "24x7"
}
Odd. Can we get some alert and debug logs for this specific service/host?
kind regards,
Michael
- Zachary
_______________________________________________
icinga-users mailing list
[email protected]<mailto:[email protected]>
https://lists.icinga.org/mailman/listinfo/icinga-users
--
Michael Friedrich, DI (FH)
Application Developer
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]
** Open Source Backup Conference 2014 - September - osbconf.org **
** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
** OSMC 2014 - November - netways.de/osmc **
** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users