Hi all Attached is another script I'd like to donate to the community. This one provides a breakdown of un-applied errata including an arbitrary 'score' for each listed RHEL node. The higher the score the worse the node is.
The script was inspired the the reports that Sun Microsystems does (or did) for some clients, reporting systems with outstanding/unapplied patches. The report was SMT which I think stood for 'System Metric Test'. This is intended to live on the Satellite/Spacewalk server but will work on any system with the Perl Frontier::Client module installed. The main problem with the script is the hardcoding of the satellite username and password, I'm not sure of a good way around this and I welcome a discussion about how best to handle this in API scripts. The script shows a web form with a textbox. If, for example 'adm\d*\..*' was entered and then the Search button clicked, only hosts with names similar to 'adm01.company.com' would be shown. If the textbox is empty, all hosts are returned after clicking search. The more hosts to be returned, the slower the page is. This is a pity but is directly related the amount of data returned by the API calls. Hope this is helpful. Thanks CC -- RHCE#805007969328369
scr.cgi
Description: Binary data
_______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
