Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions core/imageroot/etc/systemd/system/send-sizing-report.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Unit]
Description=Send cluster sizing report to the insights server
After=apply-updates.service

[Service]
Type=oneshot
ExecStart=runagent send-sizing-report
SyslogIdentifier=%N
14 changes: 14 additions & 0 deletions core/imageroot/etc/systemd/system/send-sizing-report.timer
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[Unit]
Description=Send the daily cluster sizing report overnight

[Timer]
# Once-daily, unlike send-inventory.timer's three fires: a missed run must
# catch up on next boot rather than silently skip a day (Persistent=true),
# so this follows send-backup.timer's shape instead.
OnCalendar=03:00:00
RandomizedDelaySec=2h
FixedRandomDelay=true
Persistent=true

[Install]
WantedBy=timers.target
Loading
Loading