Supress yum output when there are no errors...
Hi there.
We're running a bunch of RHEL-Systems and check for Updates every night running yum with a cron job.
Any error message is reported to our ticket-System (OTRS).
Since a few days yum is responding with the line "This system is receiving updates from Red Hat Subscription Management."
Is there any way to get rid of this message, as we only want to see messages when theres something updated or an error occured...
Thx for any advice.
Dirk Goj
Responses
Hi Dirk,
knowing the command options you are currently using would help us to see if something is behaving erroneously.
In my tests, I use the command:
yum update -y -q -e 0
and do not see the subscription management messages (tested on a fresh RHEL 6.5 install).
Please let us know if that resolves the problem for you.
Best regards
Mark
I think a key thing being overlooked here is the bothersome message: "This system is receiving updates from Red Hat Subscription Management." This means that the systems exhibiting this message are being managed via either RHN or an RHN Satellite server. Wouldn't it make more sense to leverage RHN's/Satellite's centralized reporting functionality rather than scattering cron jobs all over the place (relying on each system to self-report)? Set up properly, RHN/Satellite is going to be a more reliable CM reporter than scriptlets on each end-point.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
