Page 1 of 1

Not getting Email.

Posted: Wed Oct 10, 2018 5:12 pm
by zark
define service {

use local-service ; Name of service template to use
host_name zzz-xxx-test-application.xxx.com
service_description HTTP
check_command check_http! -w 5 -c 10 -I xx.xx.xx.xxx -p 8080 -u /Web/Login.do?formAction=startLogin&groupId=181
contact_groups systems
notifications_enabled 1
}

When I stop the application I do see in the web GUI interface ;


HTTP OK 10-10-2018 17:09:27 0d 1h 31m 46s 1/4 connection refused but not able to get any notification

Is there anyway if the APP is down I get the notification?

Re: Not getting Email.

Posted: Fri Oct 12, 2018 3:25 pm
by cdienger
Have you configured a contact anywhere? By default it sends to the local root account and you can see notifications by running "mail" on the command line. For information on setting up contacts see:

https://assets.nagios.com/downloads/nag ... ml#contact
https://assets.nagios.com/downloads/nag ... tions.html