Generate report of results from a Scheduled Job - RHN Satellite

Latest response

I frequently run remote commands against my environment to gather simple information. For example, if I wanted to know which hosts had kdump running at the time the script ran
service kdump status && exit 0 || exit 1

Which then creates a list of those that are and are-not running kdump. Unfortunately when you browse via the Sat Portal, the hosts are grouped by 25 hosts per page.

Does anyone know of an API call that I could submit which would return a list of hosts, either based on exit 0 (successful vs failed) or with the exit code in the output?

Responses