Rocket Pool's Grafana dashboard only checks if a reboot is required after it installs updates to the system.
This means that after you reboot, until the next automatic update or next manual sudo apt update
or sudo apt upgrade
,
the dashboard will still show that a reboot is required. To resolve this, we can simply update root's crontab
Run
sudo crontab -e
At the end of the file it opens in your editor of choice, add
@reboot /usr/share/apt-metrics.sh | sponge /var/lib/node_exporter/textfile_collector/apt.prom
Save and exit