Hi all,
I have been asked to provided a report/list of all Apache servers and I am unsure how to do so using BigFix. Does any one have any ideas on how I can accomplish this?
Reggie,
Hi all,
I have been asked to provided a report/list of all Apache servers and I am unsure how to do so using BigFix. Does any one have any ideas on how I can accomplish this?
Reggie,
you can use this query to get which server has httpd process active.
if (exists process “httpd” and name of operating system contains"Linux")
then "do http stuff"
else “NA”
I replied in the Slack channel already but just in case, here is the relevance I’ve used to create a computer group for Apache servers.
exists file “/etc/httpd/conf/httpd.conf” and exists local ports whose (it as string = “80”) of sockets of network
You can change this to reflect your environment (port number, config file, etc).
edit As in the above post, you could also throw in ‘exists process “httpd”’ as well.
-Matt
Hi Matt,
That worked perfectly. Thank you!