NDOutils 1.4b7 fails to run rotate_command when using Nagios 3.x (+Patch)

Wolfgang Powisch powo+lists.nagios-devel at powo.priv.at
Mon Sep 15 12:21:27 CEST 2008


Hello,

Today I noticed a bug in ndomod.c that leads ndomod to execute/process
a empty or random command instead of the defined command_line.
This happens only when using Nagios 3.x ... the corresponding log lines
looked like this :

[1221470845] Warning: Attempting to execute the command "y#," resulted in a return code of 127.  Make sure the script or binary you are trying to execute actually exists...


The attached Patch should fix this issue.


kind Regards, Wolfgang

-- 
Ing. Wolfgang Powisch
System Engineer

next layer Telekommunikationsdienstleistungs- und Beratungs GmbH
tel: +43 51764 811 | fax: +43 51764 911 |  web: www.nextlayer.at
my layers: Unix | Linux | HA | Mail | Web | SOAP | Softwaredesign
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ndoutils-1.4b7-rotate_3x.patch
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20080915/69a26587/attachment.ksh>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list