<font size=2 face="sans-serif">Hi!</font>
<br>
<br><font size=2 face="sans-serif">Oh... thats sound good... I am back
in that stuff tomorrow....</font>
<br><font size=2 face="sans-serif">Thanks a lot</font>
<br>
<br><font size=2 face="sans-serif">Matthias</font>
<br>
<br>
<br><font size=2 face="sans-serif">------------------------------------------------------------------------------------<br>
METZLER <br>
Informationstechnologie<br>
<br>
Matthias Gruber <br>
IT-Infrastruktur & -Betrieb<br>
<br>
B. Metzler seel. Sohn & Co.<br>
Kommanditgesellschaft auf Aktien<br>
Untermainanlage 1<br>
60329 Frankfurt am Main<br>
Telefon (0 69) 21 04 - 43 30<br>
Telefax (0 69) 21 04 - 40 40<br>
MGruber@metzler.com<br>
</font><a href=www.metzler.com><font size=2 face="sans-serif">www.metzler.com</font></a>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">Von:      
 </font><font size=1 face="sans-serif">"P.Cookson@bham.ac.uk"
<P.Cookson@bham.ac.uk></font>
<br><font size=1 color=#5f5f5f face="sans-serif">An:      
 </font><font size=1 face="sans-serif">"spacewalk-list@redhat.com"
<spacewalk-list@redhat.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Datum:      
 </font><font size=1 face="sans-serif">18.02.2019 16:32</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Betreff:    
   </font><font size=1 face="sans-serif">[Spacewalk-list]
FW: List of patched/to patched systems by commandline</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Gesendet von:    
   </font><font size=1 face="sans-serif">spacewalk-list-bounces@redhat.com</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3 color=#004080 face="Calibri">Hi Matthias</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">I’ve come across a “spacecmd”
report called “report_outofdatesystems” which may be of interest to you
as it produces a very simple list of systems with the number of outstanding
patches?</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">spacecmd {SSM:0}> <b>report_outofdatesystems</b></font>
<br><font size=3 color=#004080 face="Calibri">System      
                     
  Packages</font>
<br><font size=3 color=#004080 face="Calibri">--------------------------
       --------</font>
<br><font size=3 color=#004080 face="Calibri">server 1      
                     
   9</font>
<br><font size=3 color=#004080 face="Calibri">server 2      
                     
   2</font>
<br><font size=3 color=#004080 face="Calibri">server 3      
                     
   590</font>
<br><font size=3 color=#004080 face="Calibri">server 4      
                     
   592</font>
<br><font size=3 color=#004080 face="Calibri">spacecmd {SSM:0}></font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">Regards</font>
<br><font size=3 color=#004080 face="Calibri">Phil</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 face="Calibri"><b>From:</b> Philip Cookson (IT Services)
<b><br>
Sent:</b> 12 February 2019 15:27<b><br>
To:</b> 'spacewalk-list@redhat.com' <spacewalk-list@redhat.com><b><br>
Subject:</b> RE: [Spacewalk-list] List of patched/to patched systems by
commandline</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 color=#004080 face="Calibri">Hi Matthias</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">Have you looked at the standard
Spacewalk reports or “spacecmd” command at all?</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">The “<b>spacewalk-report</b>”
tool outputs information in a CSV format.</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">The related package needs
to be installed from the Spacewalk repository:</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">       
        # <b>yum -y install spacewalk-reports</b></font>
<br><font size=3 color=#004080 face="Calibri">       
        </font>
<br><font size=3 color=#004080 face="Calibri">The man page for spacewalk-report
is in the usual format and there is also an option "--list-fields-info"
that is helpful:</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri"># <b>spacewalk-report --list-fields</b></font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">See report descriptions below
– the “<b>system-currency</b>” report might be useful for what you’re
after?</font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">channel-packages - Packages
in channels </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">channels - Channel report
</font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">custom-info - Display
system custom info </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">entitlements - Entitlement
and channel list and usage </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">errata-channels - List
of errata in channels </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">errata-list - Errata information
based upon compliance checks against systems </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">errata-list-all - List
of all erratas </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">errata-systems - Listing
of each errata applicable to each affected system </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">inactive-systems - Inactive
systems in Satellite </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">inventory - Inventory
report </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">kickstartable-trees -
List of kickstartable trees </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">packages-updates-all -
List of packages that can be upgraded </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">packages-updates-newest
- List of packages that can be upgraded </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">scap-scan - Results of
OpenSCAP xccdf evaluation </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">scap-scan-results - Results
of OpenSCAP xccdf evaluation </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-crash-count - Crash
count for systems </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-crash-details -
Crash details for systems </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri"><b>system-currency - System
currency list </b></font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-groups - System
groups in Satellite </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-groups-keys - Activation
keys for system groups </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-groups-systems
- Systems in system groups </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-groups-users -
System groups users report </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-history - System
event history </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-history-channels
- Channel event history </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-history-configuration
- Configuration event history </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-history-entitlements
- System entitlement event history </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-history-errata
- Errata event history </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-history-kickstart
- Kickstart event history </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-history-packages
- Package event history </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-history-scap -
OpenSCAP event history </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">system-packages-installed
- Packages installed on systems </font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">users - Users in the system
</font>
<br><font size=3 color=#004080 face="Symbol">·        
</font><font size=3 color=#004080 face="Calibri">users-systems - Systems
administered by individual users </font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">The output could be piped
through awk to get just the columns of info you’re interested in perhaps
- see example command below:</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">       
        # <b>spacewalk-report inventory | awk -F","
'{print $4, $3, $8}' > inventory.csv</b></font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">The “<b>spacecmd</b>” tool
is also available from the Spacewalk repository and can be installed on
a system other than the Spacewalk server to execute reporting queries and
other commands remotely.</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">Regards</font>
<br><font size=3 color=#004080 face="Calibri">Phil</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 face="Calibri"><b>From:</b> </font><a href="mailto:spacewalk-list-bounces@redhat.com"><font size=3 color=blue face="Calibri"><u>spacewalk-list-bounces@redhat.com</u></font></a><font size=3 face="Calibri">
<</font><a href="mailto:spacewalk-list-bounces@redhat.com"><font size=3 color=blue face="Calibri"><u>spacewalk-list-bounces@redhat.com</u></font></a><font size=3 face="Calibri">>
<b>On Behalf Of </b></font><a href=mailto:MGruber@metzler.com><font size=3 color=blue face="Calibri"><u>MGruber@metzler.com</u></font></a><font size=3 face="Calibri"><b><br>
Sent:</b> 12 February 2019 14:56<b><br>
To:</b> </font><a href="mailto:spacewalk-list@redhat.com"><font size=3 color=blue face="Calibri"><u>spacewalk-list@redhat.com</u></font></a><font size=3 face="Calibri"><b><br>
Subject:</b> [Spacewalk-list] List of patched/to patched systems by commandline</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Arial">Hi!</font><font size=3 face="Times New Roman">
<br>
</font><font size=3 face="Arial"><br>
I am seeking for a way to determine via commandline or SQL-select, which
systems are patched (no patches to apply) and which ones needed  to
be patched.</font><font size=3 face="Times New Roman"> <br>
</font><font size=3 face="Arial"><br>
I have used system_listerrata with a SSM, but the output is. well a little
bit verbose, the Hostname would be enough</font><font size=3 face="Times New Roman">
<br>
</font><font size=3 face="Arial"><br>
Does anyone have some hint or trick for me, to get that done?</font><font size=3 face="Times New Roman">
<br>
</font><font size=3 face="Arial"><br>
cheers</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
Matthias</font><font size=3 face="Times New Roman"> <br>
</font><font size=3 face="Arial"><br>
------------------------------------------------------------------------------------<br>
METZLER <br>
Informationstechnologie<br>
<br>
Matthias Gruber <br>
IT-Infrastruktur & -Betrieb<br>
<br>
B. Metzler seel. Sohn & Co.<br>
Kommanditgesellschaft auf Aktien<br>
Untermainanlage 1<br>
60329 Frankfurt am Main<br>
Telefon (0 69) 21 04 - 43 30<br>
Telefax (0 69) 21 04 - 40 40</font><font size=3 color=blue face="Arial"><u><br>
</u></font><a href=mailto:MGruber@metzler.com><font size=3 color=blue face="Arial"><u>MGruber@metzler.com</u></font></a><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href=www.metzler.com><font size=3 color=blue face="Arial"><u>www.metzler.com</u></font></a><font size=3 face="Times New Roman"><br>
<br>
</font><font size=3 face="Arial"><br>
Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich
von Metzler, Emmerich Müller, Gerhard Wiesheu<br>
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking<br>
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515</font><font size=3 face="Times New Roman"><br>
</font><font size=3 face="Arial"><br>
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger
sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen
und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt
weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit
der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern
können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine
Haftung hierfür wird ausgeschlossen.<br>
This message is confidential. If you are not the intended recipient, we
kindly ask you to inform the sender and delete the information. Any unauthorised
dissemination or copying hereof is prohibited. As we cannot guarantee or
assure the genuineness or completeness of the information contained in
this message, the statements set forth above are not legally binding. Accordingly
we cannot accept any liability for their contents.</font><font size=3 face="Times New Roman">
</font><tt><font size=2>_______________________________________________<br>
Spacewalk-list mailing list<br>
Spacewalk-list@redhat.com<br>
</font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a>
<br>
<br>
<br><font size="2" face="Arial"> </font><br>
<br>
<font size="2" face="Arial">Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von Metzler, Emmerich Müller, Gerhard Wiesheu<br>
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking<br>
Sitz der Gesellschaft: Frankfurt am Main, </font><font size="2" face="Arial">Handelsregister-Nr.</font><font size="2" face="Arial"> HRB 27 515</font><br>
<br>
<font size="2" face="Arial"><font size="2" face="Arial">Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine Haftung hierfür wird ausgeschlossen.</font></font><br>
<font size="2" face="Arial"><font size="2" face="Arial">This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept any liability for their contents.</font></font>