Not getting Email.

This forum is intended for the discussion of Nagios plugin development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagiosplug-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Not getting Email.

Postby zark » Wed Oct 10, 2018 5:12 pm

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?
zark
 
Posts: 3
Joined: Fri Sep 21, 2018 7:04 pm

Re: Not getting Email.

Postby cdienger » Fri Oct 12, 2018 3:25 pm

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 1862
Joined: Tue Feb 07, 2017 11:26 am


Return to Nagios Plugin Development

Who is online

Users browsing this forum: No registered users and 2 guests