How to add a random delay to the Red Hat Insights client upload?
Issue
-
On Red Hat Enterprise Linux 6, Red Hat Insights is scheduled via a job in /etc/cron.daily.
-
On Red Hat Enterprise Linux 7 and later, Red Hat Insights is scheduled via the systemd.timer /usr/lib/systemd/system/insights-client.timer
-
How can we add a random delay to this schedule in our RHEL 6 or RHEL 7 Insights clients to prevent large spikes in utilization caused by all clients uploading at the same time?
Environment
- Red Hat Enterprise Linux 6 + Red Hat Insights
- Red Hat Enterprise Linux 7 + Red Hat Insights
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.