Am 12.08.2015 um 17:25 schrieb sandeep kini:
Hi All,
Can you please help me to resolve this issue so that i'm able to receive the
notification. Here is the logs which i can see in debug.log file.
I dont know why tmappstatus service checking "5m-warnings-standard"
notification .
[2015-08-12 20:31:36 +0530] notice/Notification: Attempting to send
notifications for notification object
'AIRTEL_TESTPTMAPPCheck!tmappstatus!5m-warnings-standard'.
[2015-08-12 20:31:36 +0530] debug/Notification: Type 'Problem', TypeFilter Down
(FType=32, TypeFilter=32)
[2015-08-12 20:31:36 +0530] debug/Notification: State 'Critical', StateFilter
Warning, Unknown, DowntimeRemoved, Custom, Recovery, FlappingStart and
FlappingEnd (FState=4, StateFilter=10)
[2015-08-12 20:31:36 +0530] notice/Notification: Not sending notifications for
notification object 'AIRTEL_TESTPTMAPPCheck!tmappstatus!5m-warnings-standard':
state 'Critical' does not match state filter Warning, Unknown, DowntimeRemoved,
Custom, Recovery, FlappingStart and FlappingEnd.
snippet of the hosts.conf
apply Service "tmappstatus" {
import "5m-service"
check_command = "nrpe-evol"
vars.nrpe_command = "check_appstatus"
assign where host.vars.tm<http://host.vars.tm> && host.vars.tmappstatus_check
ignore where host.vars.passive
}
snippet of the templates.conf
template Service "15m-service" {
max_check_attempts = 3
check_interval = 15m
retry_interval = 4m
vars.notifyAfter = 5
}
Attach the configuration of "5m-warnings-standard" being your notification
object/apply.
I'd say it is missing the Critical filter as your debug log says too.
Kind regards,
Michael
Thanks in advance.
--
Regards,
Sandeep Kini.
_______________________________________________
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]
** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users