I want to pull lots of information from AIX servers that isn’t available through inspectors. Things like oslevel and the exact version of installed file sets.
Instinctively I just want to run the ksh command that will give me the information I want and report it back to IEM just like any other computer property. I have made an analysis that reports back information about installed file sets but it doesn’t give enough detail to be useful.
I have seen some examples where people are referencing a file called “/__OSLevel/oslevel.txt” but I don’t understand where this file is coming from. Also what the heck is the significance of the double underscore I see occasionally.
Is the only way to find this information to execute an action or cron task on the server first that populates a file and then use relevance/analysis to read the file afterwards? If so I don’t really like it, but I will do this if I have to. I just don’t know what my options are.
oslevel.txt is created by running task “Determine OS Level” in the “Patches for AIX Site”.
There is a lot left to be desired when it comes to built in inspectors for AIX. If there is not an inspector created for what your looking for your next best option is to have an action that runs occasionally that outputs to a file, then have an analysis read that file. The determine OS Level is set to be applicable if the file it writes to is over 1 day old, so when taking action you should set it to reapply whenever it becomes relevant again if you want it updated daily.
As you mentioned this isn’t quite ideal, but required for some things.
As for the double underscore, I have no idea. That has been part of the folder structure for BigFix/IEM since I’ve ever worked with it. As far as I know there is no significance