Hello,
I'm getting the following error in nagios.log file when trying to send a email notification.
[1405202117] EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;ABACO004;fs_C:/;0;admsap;TEST
[1405202117] SERVICE NOTIFICATION: admsap;ABACO004;fs_C:/;CUSTOM (CRITICAL);check-mk-notify;CRIT - 95.7% used (35.65 of 37.2 GB), (levels at 80.00/90.00%), trend: +616.71kB / 24 hours;admsap;TEST
[1405202117] wproc: NOTIFY job 270 from worker Core Worker 9125 is a non-check helper but exited with return code 2
[1405202117] wproc: host=ABACO004; service=fs_C:/; contact=admsap
[1405202117] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1405202117] wproc: stderr line 01: execvp(NOTIFY_CONTACTNAME=admsap, ...) failed. errno is 2: No such file or directory
Is this a known issue? Is there any away to fix this? This is a fresh installation in Debian.
Error sending email notifications
Re: Error sending email notifications
I believe this is a bug, which has been reported on our bug tracker here:
http://tracker.nagios.org/view.php?id=582
http://tracker.nagios.org/view.php?id=582
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Error sending email notifications
Hey lmiltchev,
I'm kinda new with nagios.
Should i apply "582-command-v3.patch" to fix this? How i apply this patch?
I'm kinda new with nagios.
Should i apply "582-command-v3.patch" to fix this? How i apply this patch?
Re: Error sending email notifications
Here's how you apply a patch to a source code:
http://www.cyberciti.biz/faq/appy-patch ... h-command/
I suppose, you can run something like this:
then recompile nagios.
http://www.cyberciti.biz/faq/appy-patch ... h-command/
I suppose, you can run something like this:
Code: Select all
cd /tmp/nagios-4.0.7/lib
wget http://tracker.nagios.org/file_download.php?file_id=250&type=bug
patch runcmd.c < 582-command-v3.patchBe sure to check out our Knowledgebase for helpful articles and solutions!