help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining a Class based on ShellCommand Output or No Output


From: Brian E. Seppanen
Subject: Re: Defining a Class based on ShellCommand Output or No Output
Date: Fri, 5 Aug 2005 14:54:52 -0400 (EDT)

On Fri, 5 Aug 2005, Ed Brown wrote:

On Fri, 2005-08-05 at 11:45, Brian E. Seppanen wrote:

If I run that on the command line it doesn't work,

I hope you meant to say it DOES work from the commandline, else why
would you expect it to work in a script, unless I misunderstand you.
But doing a 'netstat -an' and grepping for 898 could be matching other
places, that's why I used '-ln' in my suggestion, which, on linux
anyway, only shows 'LISTEN'ing ports, not every connection and open
socket under the sun.  Also, I would try it without the qualifying
"any::".

I did mean that it does work from the command line. Those are good suggestions, I'll verify the data.


Brian Seppanen
608.826.1464




reply via email to

[Prev in Thread] Current Thread [Next in Thread]