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 em...@mydomain.com <mailto:em...@mydomain.com>

?

On Wed, Nov 30, 2011 at 9:09 PM, Nick Price <np...@hotmail.com <mailto:np...@hotmail.com>> wrote:

The defaults are there.

I did echo 'this is a test' | /bin/mail --s test_email em...@mydomain.com <mailto:em...@mydomain.com>

That went out Ok

What to look at next

*From:*Claudio Kuenzler [mailto:c...@claudiokuenzler.com <mailto:c...@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 <np...@hotmail.com <mailto:np...@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@lists.sourceforge.net <mailto:Nagios-users@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@lists.sourceforge.net <mailto:Nagios-users@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@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.friedr...@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

------------------------------------------------------------------------------
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@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

Reply via email to