How-to debug a NAGIOS-not-sending-email problem ?
Nagios User
john.nagios at gmail.com
Thu Oct 9 21:05:02 CEST 2008
Is your mail command under /usr/bin/mail or /bin/mail ?
-john
On Wed, Oct 8, 2008 at 12:08 PM, Valdinger, Stephen (DOV, MSX)
<svalding at doverchem.com> wrote:
> The first place that I would look would be your mail and Nagios logs. There is probably something in one of them related to your troubles.
>
> Stephen Valdinger
> MIS Helpdesk Coordinator
> 330.365.3622 -O
> 740.491.0958 - C
> svalding at doverchem.com
> Never agrue with an idiot. They drag you down to their level and then beat you with their experience.
>
>
> -----Original Message-----
> From: M. Sébastien LELIÈVRE [mailto:sebastien.lelievre at aznetwork.fr]
> Sent: Wednesday, October 08, 2008 11:21 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] How-to debug a NAGIOS-not-sending-email problem ?
>
> Greetings,
>
> I'm experiencing some odd issue with my nagios server.
>
> It dosen't notify by email anymore
>
> When I execute the corresponding command in the nagios (user) shell, I
> receive an email
>
> A. So it is not postfix nor a system problem, just nagios which
> doesn't send email
>
> Reload/Restart-ing program (both postfix and nagios) didn't work out
>
> I do not know where to start my investigation
>
> Here are some info :
>
> notify-host-by-email :
>
> /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE
> $\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo:
> $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s
> "[$HOSTGROUPNOTES$ $NOTIFICATIONTYPE$ Host $HOSTSTATE$ in $HOSTNAME$]"
> $CONTACTEMAIL$
>
>
> notify-service-by-email :
>
> /usr/bin/printf "%b" " Nagios \n\nNotification Type: $NOTIFICATIONTYPE
> $\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS
> $\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
> Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "[$HOSTGROUPNOTES$
> $NOTIFICATIONTYPE$ Service $SERVICESTATE$ in $HOSTNAME$/$SERVICEDESC$]"
> $CONTACTEMAIL$
>
> Best Regards
> --
> M. Sébastien LELIÈVRE
>
> Ingénieur Système & Base de Données
>
> ABF Hébergement / AZ Network
> 40, rue Ampère
> 61000 ALENÇON (ORNE)
> FRANCE
>
> Tel. : + 33 (0) 233 320 616
> Port. : + 33 (0) 673 457 243
>
> Poste : 120
> e-mail : sebastien.lelievre at aznetwork.fr
>
>
> -------------------------------------------------------------------------
> 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
>
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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