AIX OS version information

 
Avatar
Newbie
Total Posts: 25

My client thinks it is more useful to extract the oslevel + the service pack level during a scan. At the moment, the discovery script only uses the command ‘oslevel’ which shows the base maintenance level. The command ‘oslevel -s’ also shows the service pack level. (The output format is a bit different but that shouldn’t be a problem.)
E.g.:
In Tideway the AIX version of a certain server now shows: 5.3.0.0
Tivoli however, shows version 5.3.0.30 for that host. If Tideway used ‘oslevel -s’, it would retreive 5300-03-00 which can be reconstructed to 5.3.0.30 as well.
That way, the client shouldn’t turn to Tivoli to obtain the necessary info.

Rgrds,

Edwin

No Avatar
Newbie
Total Posts: 22

This should be pretty easy to do on V7.x with tpl. Create a pattern to run on AIX hosts - run your command, parse the info that comes back and the populate your chosen field in the taxonomy.

If you have created a custom field to hold this info, modify the taxonomy to display this field in the UI (place directly under the current OS field and that way they can see the 2 together) and then for extra points could create a report for AIX hosts showing this field.

Avatar
Administrator
Total Posts: 107

Thanks for that Edwin, useful information that I’ll pass on.
Do you know if there is a reference for mapping the 5300-03-00 to 5.3.0.30 ?

Out of interest which version of Foundation is your client running currently?

Avatar
Newbie
Total Posts: 25

I’m aware that I can make a pattern for it, but I though it might be an idea for the default discovery script. We are still running version 6.2 in production here. I’ve got 7.1.1 running on our testserver and that version uses the same script for extracting the AIX OS level.

No Avatar
Newbie
Total Posts: 3

Actually, oslevel -s (which only became available sometime after the initial release of AIX 5.3) lists both Technology Level and Service Pack (IBM just love to come up with new terms).
So, for example 5300-04-02 is 5.3 Technology Level 4, Service Pack 2.

You can however, also have an output like this:
5300-03-CSP, which means 5.3 Technology Level 3, Concluding Service Pack (catchy).
This indicates the last Service Pack that will be released for that technology level.

I got the information about this from here: AIX Maintenance Strategies