Alert Emails Don't Contain the Content of the Alert

Marc Powell marc at ena.com
Mon Aug 3 21:28:19 CEST 2009


On Aug 3, 2009, at 1:54 PM, John Davis wrote:

>
> I set up Nagios 3.0.4 using the quickstart. The service alert
> notifications for Disk Capacity contain information regarding Ping and
> not the Disk capacity information I expected. Here's a sample of the  
> email:
>
> begin
> Notification Type: PROBLEM
> Host: jdavisxp
> State: UP
> Address: 10.1.41.14
> Info: PING OK - Packet loss = 0%, RTA = 0.59 ms
>
> Date/Time: Mon Aug 3 08:43:34 PDT 2009
> end

This looks like a host notification, not a service notification. This  
does not match the 'notify-service-by-email' definition you posted,  
nor does it appear to be the result of a service alert. Are you sure  
you're comparing apples to apples? Does your host's check_command make  
sense?

> Can anyone tell me why a disk capacity issue is generating a problem
> alert that just contains info about packet loss?

I can't see how this would be possible. Please find and post the  
relevant ALERT and NOTIFICATION entries in nagios.log. Please also  
post the relevant host, service and contact definitions in their  
entirety (from objects.cache) and the jabber notification command.

> Obviously I've crossed
> a config somewhere but I can't seem to find it.

I don't see how. Seems like a meatspace issue so far. ;)

--
Marc


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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