I am new to BigFix, and need some help. I am trying to create a new fixlet, which will ping a website, like google.com, and report back true if it was successful, or false if it was not. Any ideas are greatly appreciated!
At a high level you will create a Fixlet that will ping the website and log the results to a local file.
You could then add a “continue if” statement that will check to see if the results file exists and if you have then parse it to see if the expected results are in it.
I don’t have time to help write the fixlet, but one way to go about it would be to have a computer ping and pipe to appendfile, i.e. waithidden cmd.exe /c ping %parameter% > _appendfile
then search that file for the response and report on true
exists line whose (contains "0% success) of __appendfile or
exists line whose (contains "100% success) of __appendfile