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 its 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 && 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
}



Thanks in advance.

-- 
Regards,
Sandeep Kini.
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to