If there is something common between all clients I visited in the past it is the difficulty they had to have a clear view on what probes/packages and their versions that were installed in their environment.
Via the good old Infrastructure Manager we could drag and drop a new version of a probe, but it was not always easy to see/check the total picture/results.
---
The attached tool, available in Perl source and compiled format, will try to get the highest available version from your LOCAL archive and compare this with the information available from the local, on each robot, stored information.
Input:To help you create specific target reports you have several:
- sql filter parameters: -lo, -lh, -lr and -lp
- on the output of the created sql query you can apply regex parameters where you can filter on: origin, hub, robot, probe, os_major_os_minor, user_tag1 and user_tag2
Output:- html report with in red all robot/probe that have lower versions installed
- PU txt file with commands ready to be executed to upgrade the probes (they are NEVER executed/deployed/upgraded automatically)

This example was run with parameters -ex"n"
(-ex"n" is to report also the probes that have a correct version installed)
In the PU txt file you can find:

Doc file is also included in package/attachment
Remarks, suggestions, problems and questions are very welcome.
In version 2.1, takes a totally other approach than previous versions.
Initially we started, in 1.0, from a list of probes installed on robots coming from cm_nimbus_probe, but this had the limitation that we didn't see/report all installed non-probe packages. (java, app_disco_, c++ distrib,..)
Version 2.0:- Via the 4 available SQL selection parameters we create a list of servers
- for each selected server we issue a controller callback: inst_list_summary
- on this packages list we will apply the regex filters and create a report and when needed PU commands (in a txt file)
Version 2.3:- some additional code to recognize test fixes and hot fixes
- -dp: delete package parameter, this make it possible to remove, in a controlled way, packages in your environment
- nimsoft_generic.pm can now be located in the same directory as the tool or in perl/lib
This latest version is posted lower (nimsoft_check_packages_version_v2.3.zip)
#uim #package #check #tool #perl #commandline #report #version #installed ​​​​​​​​​​