[Spacewalk-list] Systems Requiring Updates - DB Entry postgres

Michael Mraka michael.mraka at redhat.com
Mon Jan 8 10:04:26 UTC 2018


Raymond Setchfield:
> Hi
> 
> I am looking to monitoring a few things within spacewalk and I have found
> what I need within the db schema, However I am looking for the db entries
> for updates, so that I can monitoring and place a value to this, but I
> cannot find the entry within the db
> 
> Does anyone know where this is located in the db? Or if not how this is
> calculated?

Hello Raymond,

I think spacewalk-report utility can help you.
Install optional package spacewalk-reports and try 'packages-updates-all' report:

  # spacewalk-report packages-updates-all --info
  List of packages which can be upgraded

      Prints list of packages which can be upgraded for all systems in spacewalk

        
Or at least you can see sql query behind it in
/usr/share/spacewalk/reports/data/packages-updates-all.

Regards,

--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list