-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
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
Add needrestart_info.py to monitore needrestart. #195
Add needrestart_info.py to monitore needrestart. #195
Conversation
5b4eb3b
to
eb588ef
Compare
Signed-off-by: RomainMou <58464216+RomainMou@users.noreply.github.com>
Signed-off-by: RomainMou <58464216+RomainMou@users.noreply.github.com>
80c82a9
to
d805647
Compare
Hello @funkyfuture, thanks for all your feedback, they are very appreciate for a beginner like me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, i've been using it for some weeks now.
Is there anything missing to merge this PR? Anything I can do? |
Please also check that your metric names conform to the Prometheus best practice guide: https://prometheus.io/docs/practices/naming/ |
Signed-off-by: RomainMou <58464216+RomainMou@users.noreply.github.com>
Signed-off-by: RomainMou <58464216+RomainMou@users.noreply.github.com>
62b5d2e
to
ce87ff3
Compare
Signed-off-by: RomainMou <58464216+RomainMou@users.noreply.github.com>
Signed-off-by: RomainMou <58464216+RomainMou@users.noreply.github.com>
…y#195) Add needrestart_info.py to monitor needrestart Signed-off-by: RomainMou <58464216+RomainMou@users.noreply.github.com>
Just for the records: There's has also been something coded in |
Hi,
I've made a small script to retrieve some metrics from
needrestart
, and perhaps it could be useful for others?The script runs
needrestart -b
(batch mode), parses the output, and displays some metrics. It looks like this: