Test Email Alert

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
drusso
Posts: 2
Joined: Tue Mar 18, 2014 9:55 am

Test Email Alert

Post by drusso »

hello, i am new to nagios, and have a question. I updated "contacts.cfg". I ran the check and restarted the nagios process.... This was about 2 weeks ago, yet I have not received any email alerts from nagios. Which seems odd, that the random alerts i was getting no longer come in (maybe things are fine...)

In the past I was just forwarding the alerts to my email address. Is there a way to send a test alert? To see if it makes it to my email?

~]# /usr/bin/nagios -v /etc/nagios/nagios.cfg

Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010

...


Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
[root@murray ~]#

Hopefully this makes sense, thanks to anyone who responds
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Test Email Alert

Post by slansing »

The best way to send a test alert from core would be to go to one of your hosts/services which that contact is assigned to and send a 'Custom Notification' this will not alter the state of the object, but will attempt to send a notification through it the same way it would if nagios would have triggered one.
drusso
Posts: 2
Joined: Tue Mar 18, 2014 9:55 am

Re: Test Email Alert

Post by drusso »

Thank you slansing, after poking around, i was able to send a test email from the web interface...
Locked