I’ve created a Fixlet running a basic shell script to test connection to an internal network on Red Hat system with Exit codes.
0 - Connected
1 - Not connected
I want to include this information in a web report I am creating, how can I go about doing this? My thoughts are to run an analyses against the exit codes but how do I do that? or would you do it in another way?
There are at least two different ways you can approach this:
Via a custom Web Report, you can leverage the exit code of <bes action result> session relevance inspector to report on the exit codes for a given action, or set of actions against your endpoints
In your Fixlet running a basic shell script, have it output the exit code to a file, create an analysis property to return the value within the file, and create a report against that property.
If you’d like some assistance with one of these approaches, or have additional questions, certainly let us know.
This is the basic Shell script I am running via a fixlet, I want to drop the output into a webreport I am building what relevance would I use to gather that in an analysis?