Email is not getting triggered
Getting following error please help
SERVICE NOTIFICATION: nagiosadmin;Jiffy_103;Memory Usage;WARNING;notify-service-by-email;WARNING - 7.3% (1180412 kB) free!
[1496232366] wproc: NOTIFY job 51 from worker Core Worker 29036 is a non-check helper but exited with return code 127
[1496232366] wproc: host=Jiffy_103; service=Memory Usage; contact=nagiosadmin
[1496232366] wproc: early_timeout=0; exited_ok=1; wait_status=32512; error_code=0;
[1496232366] wproc: stderr line 01: /bin/sh: /bin/mail: No such file or directory
[1496232366] wproc: stderr line 02: /usr/bin/printf: write error: Broken pipe
Email Notifications not working
Re: Email Notifications not working
It looks like the /bin/mail application is not installed on your system or the mail application is not in the /bin folder.
If the mail application is not installed on your system, install the mailx package anf that should install the mail application.
If it is already installed, run the following command as root and it will show you the location the mail application is installed at.
It if is in a different path, update the path to the mail application in the notify-service-by-email command in the commands.cfg file and that should fix it for you.
If the mail application is not installed on your system, install the mailx package anf that should install the mail application.
If it is already installed, run the following command as root and it will show you the location the mail application is installed at.
Code: Select all
which mail
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 2
- Joined: Mon Apr 03, 2017 11:59 pm
Re: Email Notifications not working
Thanks tgriep the above solution from you solved the problem
-
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Email Notifications not working
Thanks for using Nagios! If you have further issues, please open a new thread or ticket.
Previous Nagios employee