problem with emailing.

Marc Powell marc at ena.com
Thu Oct 16 16:00:30 CEST 2008


On Oct 16, 2008, at 7:49 AM, chris king wrote:

> hosts.cfg
>
> define host {
[snip]
>
> 	event_handler	notify-host-by-email
> 	event_handler_enabled	1

This is incorrect and un-necessary. I am betting that the e-mail log  
you're referencing is a result of this event handler firing.  
$CONTACTEMAIL$ isn't a valid macro for eventhandlers (http://nagios.sourceforge.net/docs/3_0/macrolist.html 
). eventhandlers are designed for doing other things like restarting  
services and the like. notifications are handled by an entirely  
different process (http://nagios.sourceforge.net/docs/3_0/notifications.html 
). You should remove these two parameters.

--
Marc



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list