[Nagios-devel] Patch for cmd.cgi for OpenBSD - hanging cmd.cgi problem

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Patch for cmd.cgi for OpenBSD - hanging cmd.cgi problem

Post by Guest »

Hey folks,

I have created a patch for cmd.cgi that solves the "why does
cmd.cgi hang forever on my OpenBSD machine" problem.

Credit goes to Stephen Marley for determining the exact problem.
It stems from an incompatible flag to fopen() on line 1820 in cmd.c.
The fix is a one-liner, but it's nice to have a patch to apply. It
can be found here:

http://www.bennyvision.com/projects/nagios/

Enjoy!

Benny


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There's always time for Cheerios...






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: benny@bennyvision.com
Locked