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
monitoring:Adding the Ceph MIB #43274
Conversation
The ceph MIB has been created and maintained in a a separate repo: https://github.com/SUSE/prometheus-webhook-snmp This patch brings this MIB into the main ceph repo, so alert changes can target prometheus and potentially SNMP environments within the same PR. Kudos to Volker Theile for creating the MIB. Fixes: https://tracker.ceph.com/issues/52708 Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
| CEPH-PROMETHEUS-ALERT-MIB DEFINITIONS ::= BEGIN | ||
|
|
||
| IMPORTS | ||
| MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, enterprises, TimeTicks | ||
| FROM SNMPv2-SMI | ||
| DisplayString | ||
| FROM SNMPv2-TC | ||
| ; | ||
|
|
||
| ceph OBJECT IDENTIFIER ::= { enterprises 50495 } | ||
| prometheus OBJECT IDENTIFIER ::= { ceph 15 } |
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.
Have you run this through an MIB validator? I looked for an online one, and it's reporting some errors (maybe they're just false positives):
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.
I'll take a look. However, @votdev MIB is the best we have at this point. I'd like to get the MIB across and then build on it.
I know the MIB loads and I've been running tests with snmptrapd to verify the integration
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>

The ceph MIB has been created and maintained in a a separate repo:
https://github.com/SUSE/prometheus-webhook-snmp
This patch brings this MIB into the main ceph repo, so alert changes can target
prometheus and potentially SNMP environments within the same PR.
Kudos to Volker Theile for creating the MIB.
Fixes: https://tracker.ceph.com/issues/52708
Signed-off-by: Paul Cuzner pcuzner@redhat.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox