We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/blob/a2b43e19be1e64c31b626ca827506977cac93488/apt_info.py#L112C31-L112C51
in Ubuntu,, script https://git.launchpad.net/ubuntu/+source/update-notifier/tree/data/update-motd-reboot-required#n6 not only tests if file exist but also examines content of this file.
The difference is that with live kernel patching, file exist but remains empty. This does not trigger *** System restart required *** message.
*** System restart required ***
The text was updated successfully, but these errors were encountered:
So, checking for a non-zero file size (if the file exists) would be a suitable test?
Sorry, something went wrong.
No branches or pull requests
https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/blob/a2b43e19be1e64c31b626ca827506977cac93488/apt_info.py#L112C31-L112C51
in Ubuntu,, script https://git.launchpad.net/ubuntu/+source/update-notifier/tree/data/update-motd-reboot-required#n6 not only tests if file exist but also examines content of this file.
The difference is that with live kernel patching, file exist but remains empty. This does not trigger
*** System restart required ***
message.The text was updated successfully, but these errors were encountered: