<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tevfik Karagulle</b> <span dir="ltr"><<a href="mailto:tevfik.karagulle@gmail.com">tevfik.karagulle@gmail.com</a>></span><br>
Date: Thu, Jan 27, 2011 at 11:28 AM<br>Subject: Re: [Nagios-devel] Nagios core patches for External Command support in Cygwin<br>To: Thomas Guyot-Sionnest <<a href="mailto:dermoth@aei.ca">dermoth@aei.ca</a>><br><br>
<br>Hi,<br><br>No need to integrate that patch into the main stream at the moment. Maybe it is too specific for a not-so-mainstream platform for Nagios world (cygwin).<br><br> I just wanted to get some feedback about the way I did. I can see that it is not so straightforward to address needs of sysadmins sending their own commands directly.<br>

<br>I will try to come up with some docs and optimizations. We can then discuss if it is worthwhile to be a part of the standard distribution.<br><br>Tev<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">
On Thu, Jan 27, 2011 at 4:34 AM, Thomas Guyot-Sionnest <span dir="ltr"><<a href="mailto:dermoth@aei.ca" target="_blank">dermoth@aei.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div><br>
On 11-01-26 07:05 PM, Tevfik Karagulle wrote:<br>
> Hi,<br>
><br>
> As I tried to explain in a related post at Nagios-users<br>
</div>> <<a href="http://sourceforge.net/mailarchive/message.php?msg_id=26952232" target="_blank">http://sourceforge.net/mailarchive/message.php?msg_id=26952232</a>>,<br>
<div><div></div><div>> Cygwin's named pipe support is somewhat broken and unstable at the moment.<br>
><br>
> I've met that problem during the development of Nagwin. I've evaluated<br>
> several approaches and ended up with patching cmd.cgi and utils.c to<br>
> introduce an 'one-plain-file-for-each command' scheme. The basic reason<br>
> behind this decision is to use something working well at all<br>
> circumtances (file system/directories) :-) Not a<br>
> perfect/sleek/state-of-art solution, but it should be more than enough<br>
> for an environment with average load. Patched nagios and cmd.cgi are<br>
> tested on several machines and seems to work without problems.<br>
<br>
</div></div>Hi Tev,<br>
<br>
Thanks for your patch. I wouldn't have any objection committing the code<br>
itself as it's totally non-invasive for other platforms, OTOH it's<br>
missing any documentation on this alternative, especially how an<br>
external program could send commands to Nagios. Could you please write<br>
up something that would get the average sysadmin up to speed as to how<br>
this system works?<br>
<br>
Also, I would rather make this a configure option and turn it on by<br>
default on cygwin. What if next Cygwin release fixes named pipes? :)<br>
<br>
Thanks<br>
<br>
- --<br>
Thomas<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAk1A578ACgkQ6dZ+Kt5BchY23ACgh9at+XoVPNiOXRyBH0FDH73W<br>
wKcAniKmuqL6k2Cl8G739dni2w397o7X<br>
=PrX6<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>
</div></div></div><br>