(imported topic written by awiedne91)
Hello,
I’m a new bigfix user just getting familiar with the product, and I have a question regarding properties and analyses. I wanted to create an analyses that would show whether ftp was turned on for a mix of rhel and solaris servers. Here is the property (named ftp):
if (exists line whose (it as lowercase contains “tcp” AND (it contains "0.0.0.0:21 " or it contains "*.21 ") AND it as lowercase contains “listen”) of file “netstat.log” of parent folder of client) then “FTP” else “N/A”
I created a new analyses and placed the ftp property in the analyses. It runs and returns the correct information for the linux servers (either FTP or N/A), but is returned for all of the solaris servers.
I searched for the netstat.log file on a sampling of solaris servers, and the file was not present. Can you please help?
Thanks!