Page 2 of 2

Re: check_https not sedning email alerts

Posted: Thu Nov 22, 2012 12:18 am
by puligilla
Hi,

No i cant see any new or any relevant parts after changing the debug level at the time of state change.

Re: check_https not sedning email alerts

Posted: Thu Nov 22, 2012 12:20 am
by puligilla
Hi,

I cant see any relevant parts or any new things in log file at the time of service hard state, even after changing the debug level.

Re: check_https not sedning email alerts

Posted: Tue Nov 27, 2012 1:30 am
by puligilla
I have changed the debug level as you suggested. i cant see any new information in log file.

Re: check_https not sedning email alerts

Posted: Tue Nov 27, 2012 4:56 pm
by agriffin
The information will be in nagios.debug, not the log file. Would you mind posting part of your debug file showing some time when Nagios should be alerting you but isn't? (With timestamps starting slightly before the hard state change and for several minutes afterwards.)

Re: check_https not sedning email alerts

Posted: Mon Dec 17, 2012 4:34 am
by puligilla
Hi,

Sorry for the delay in reply. I did not see any information regarding the service in that debug file.

for some hosts i have disabled notifications. that information only is showed in that debug file. Even for the status "CRITICAL - Cannot make SSL connection." also not showing any info in debug file. As per my observation only host notification debug is being done.

Please help,

Re: check_https not sedning email alerts

Posted: Mon Dec 17, 2012 5:02 am
by puligilla
Hi again,

The below info is found for in debug file regarding the service

[1355737743.060833] [032.1] [pid=8393] Notifications are temporarily disabled for this host, so we won't send one out.
[1355737743.060861] [032.0] [pid=8393] Notification viability test failed. No notification will be sent out.
[1355737753.089851] [032.0] [pid=8393] ** Host Notification Attempt ** Host: 'ifiber', Type: 0, Options: 0, Current State: 1, Last Notification: Wed Dec 31 19:00:00 1969
[1355737753.089934] [032.1] [pid=8393] Notifications are temporarily disabled for this host, so we won't send one out.
[1355737753.089960] [032.0] [pid=8393] Notification viability test failed. No notification will be sent out.
[1355737753.090006] [032.0] [pid=8393] ** Service Notification Attempt ** Host: 'ifiber', Service: 'ifiber Application', Type: 0, Options: 0, Current State: 2, Last Notification: Wed Dec 31 19:00:00 1969
[1355737753.090049] [032.1] [pid=8393] The host is either down or unreachable, so we won't notify contacts about this service.
[1355737753.090070] [032.0] [pid=8393] Notification viability test failed. No notification will be sent out.

in the above, it is saying "The host is either down or unreachable, so we won't notify contacts about this service.", in order to get notified for abt a service, is the host should be able to be pinged? because my applications are restricted to ICMP.

the application is hosted on IIS.. Also i tried another way to get notified. that is to search for a string in the login page. if the string is not found then to get alert. that is also not working. the same is worked for my apache linux hosted applications where my apache application is allowed to ping.

Is that the cause for the issue?

Re: check_https not sedning email alerts

Posted: Tue Dec 18, 2012 3:14 am
by puligilla
Hi All,


the issue is resolved. The applications are not allowed to ping , this caused the issue. After allowing ICMP for the applications now we are able to get alerts for every state. thanks for the valuable suggestions.. I learnt a lot from this issue. once again thanks for the help. keep it up guys..

regards,

Re: check_https not sedning email alerts

Posted: Tue Dec 18, 2012 5:22 pm
by slansing
Thank you for providing the community with your solution, this should help others in the future!