Hi David,
No problem, although there are few things to consider. For instance, I
would avoid unneeded fork(), therefore no need to use netcat if you can
achieve the same thing with pure Ruby (you can literally copy and paste
code from the function I have created for you). Remember, that in term
Thanks Jeff and Krzysztof,
I think I will write a facter using netcat or something then and catch it
in the manifests.
nc -z domain_name port
Cheers,
DGarvey
On Tue, Mar 27, 2012 at 2:36 PM, Jeff McCune wrote:
> On Tue, Mar 27, 2012 at 2:24 PM, Krzysztof Wilczynski <
> krzysztof.wilczyn...@li
On Tue, Mar 27, 2012 at 2:24 PM, Krzysztof Wilczynski <
krzysztof.wilczyn...@linux.com> wrote:
> Ho David,
>
>
> On Tuesday, 27 March 2012 19:05:09 UTC+1, David Garvey wrote:
>>
>> Can I check if a port is open for DSL? I need to check if the box has an
>> acl allowing the nagios server to connect