Session Relevance to see contents of a file in /tmp on the Root Server

I can use the following relevance to get the computer name for the Root Server:

name of bes computers whose (value of result (bes property "Relay",it) as string = "BES Root Server")

What I was hoping to do was use the Web Reports QNA functionality (or some other way) to look at the contents of a file in /tmp:

lines of file "/tmp/perf_monitor_stats"

I was hoping to get the results stored in the file, without having to log on to the machine.

Thanks,
Bob_K

You would need to have the analysis on the endpoint configured to pull the information. At that point, I believe you can query the result of an analysis by name but how to do that escapes me.

1 Like

Create an analysis with a property that retrieves the data you want - the property uses client relevance so something like

lines of file "/tmp/perf_monitor_status"

Then from session relevance you can get value of that property.
Say the property is named performance_monitor_status
The session relevance will be something like

values of results of bes property "performance_monitor_status"
1 Like

@jmaple, @gearoid,

Thanks! That is exactly what I was looking for!!!

Bob_K