notification emails
Michael Friedrich
michael.friedrich at univie.ac.at
Fri Dec 2 10:23:54 CET 2011
On 02.12.2011 09:14, Nick Price wrote:
>
> Yes printf works
>
> I had the same version of Nagios with the same config files working OK
> with fedora 14
>
> It is only when I installed it on fedora 16 the notifications don't work
>
> I think it's a bug within Nagios
>
nagios just calls the command forking into a shell, so i'd rather guess
this will be affected by turned on selinux. provide the output of
# getenforce
> Did you also do
>
> printf 'this is a test' | /bin/mail --s test_email
> email at mydomain.com <mailto:email at mydomain.com>
>
> ?
>
> On Wed, Nov 30, 2011 at 9:09 PM, Nick Price <np121 at hotmail.com
> <mailto:np121 at hotmail.com>> wrote:
>
> The defaults are there.
>
> I did echo 'this is a test' | /bin/mail --s test_email
> email at mydomain.com <mailto:email at mydomain.com>
>
> That went out Ok
>
> What to look at next
>
> *From:*Claudio Kuenzler [mailto:ck at claudiokuenzler.com
> <mailto:ck at claudiokuenzler.com>]
> *Sent:* Wednesday, November 30, 2011 12:37
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] notification emails
>
> Did you check the command which is used to send notifications in
> command.cfg or checkcommand.cfg ?
> Maybe you don't have the binary or you need to rename the command.
>
> By default it uses /usr/bin/printf and /usr/bin/mail if I'm not mistaken.
>
> On Wed, Nov 30, 2011 at 9:23 AM, Nick Price <np121 at hotmail.com
> <mailto:np121 at hotmail.com>> wrote:
>
> Hello
>
> I am not sure if this is a bug or config issue.
>
> I have a clean install of fedora 16 32 bit with a manual install of
> nagios
> 3.3.1 and nagios plugins 1.4.15.
>
> I see in the debug log
>
> Notification viability test failed. No notification will be sent out.
>
> I can send test emails from this server using sendmail and that bit works
>
>
> Is there a solution for this.
>
> Regards
>
> Nick
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> <mailto: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
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> <mailto: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
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
>
>
> _______________________________________________
> 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
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: michael.friedrich at univie.ac.at
phone: +43 1 4277 14359
mobile: +43 664 60277 14359
fax: +43 1 4277 14338
web: http://www.univie.ac.at/zid
http://www.aco.net
Lead Icinga Core Developer
http://www.icinga.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111202/277280ad/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
-------------- next part --------------
_______________________________________________
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