Nagios core patches for External Command support in Cygwin

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Jan 27 04:34:45 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11-01-26 07:05 PM, Tevfik Karagulle wrote:
> Hi,
> 
> As I tried to explain in a related post at Nagios-users
> <http://sourceforge.net/mailarchive/message.php?msg_id=26952232>,
> Cygwin's named pipe support is somewhat broken and unstable at the moment.
> 
> I've met that problem during the development of Nagwin. I've evaluated
> several approaches and ended up with patching cmd.cgi and utils.c to
> introduce an 'one-plain-file-for-each command' scheme. The basic reason
> behind this decision is to use something working well at all
> circumtances (file system/directories) :-) Not a
> perfect/sleek/state-of-art solution, but it should be more than enough
> for an environment with average load. Patched nagios and cmd.cgi are
> tested on several machines and seems to work without problems.

Hi Tev,

Thanks for your patch. I wouldn't have any objection committing the code
itself as it's totally non-invasive for other platforms, OTOH it's
missing any documentation on this alternative, especially how an
external program could send commands to Nagios. Could you please write
up something that would get the average sysadmin up to speed as to how
this system works?

Also, I would rather make this a configure option and turn it on by
default on cygwin. What if next Cygwin release fixes named pipes? :)

Thanks

- -- 
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1A578ACgkQ6dZ+Kt5BchY23ACgh9at+XoVPNiOXRyBH0FDH73W
wKcAniKmuqL6k2Cl8G739dni2w397o7X
=PrX6
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d




More information about the Developers mailing list