Skip to content
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

Feature request: Expose NTP metrics to monitoring infrastructure #1857

Open
scoopex opened this issue Nov 20, 2024 · 0 comments
Open

Feature request: Expose NTP metrics to monitoring infrastructure #1857

scoopex opened this issue Nov 20, 2024 · 0 comments

Comments

@scoopex
Copy link

scoopex commented Nov 20, 2024

As discussed in #1852 it would be useful to expose the details of the ntp time synchronization state (e.g. offset, jitter, delay, count of "good" servers) to the monitoring infrastructure.
In my understanding SONiC itself currently only exposes metrics by SNMP.

As @saiarcot895 pointed out, it might be a good idea to expose the information to STATE_DB periodically (i.e. 5 minutes) where it can be consumed also from a prometheus exporter.
Probably this script might be a source where you can get a first draft of this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant