Did you by accident disable the notifications?

On the Nagios web interface, click on Tactical Overview.
At the end of the page (Monitoring Features) check that Notifications are
green/enabled.

It would make sense as you don't have SELinux and all commands seem to work
from command-line (you also checked them with your Nagios user, not root,
right?).

On Fri, Dec 2, 2011 at 11:30 AM, Nick Price <np...@hotmail.com> wrote:

> Ok****
>
> ** **
>
> I am getting in the debug log****
>
> ** **
>
> Notification viability test failed. No  notification will be sent.****
>
> ** **
>
> What is this and how to troubleshoot it.****
>
> ** **
>
> I can send emails from command line.****
>
> Selinux is disabled****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* m...@catsnest.co.uk [mailto:m...@catsnest.co.uk]
> *Sent:* Friday, December 02, 2011 10:23
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] notification emails****
>
> ** **
>
> ** **
>
> On Fri, Dec 2, 2011 at 8:14 AM, Nick Price <np...@hotmail.com> 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****
>
>  ****
>
> I doubt that its a bug in Nagios, as Nagios just uses your system's
> commands to send notifications.
> What is your notification config? can you run the commands the
> notification uses as the Nagios user?
> Is there some security such as SE Linux running?
>
> You could try adding logging to the Notification command eg add a ">>
> /var/tmp/Notification.log"
>
> or instead of the Notification command being a direct command, make a
> script for it instead.
>
> Ritchie,
>
> --
> <-- http://23.me.uk/2 -->
> <--Time flies like an arrow; fruit flies like a banana.  -->
>   ****
>
>  ****
>
>  ****
>
> Did you also do
>
> printf ‘this is a test’ | /bin/mail  –s  test_email  em...@mydomain.com
>
> ?****
>
> On Wed, Nov 30, 2011 at 9:09 PM, Nick Price <np...@hotmail.com> wrote:****
>
> The defaults are there.****
>
>  ****
>
>  ****
>
> I did        echo ‘this is a test’ | /bin/mail  –s  test_email
> em...@mydomain.com****
>
>  ****
>
>  ****
>
> That went out Ok****
>
>  ****
>
> What to look at next****
>
>  ****
>
>  ****
>
>  ****
>
> *From:* Claudio Kuenzler [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> 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
> 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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