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

monitoring:Adding the Ceph MIB #43274

Merged
merged 2 commits into from Oct 12, 2021
Merged

monitoring:Adding the Ceph MIB #43274

merged 2 commits into from Oct 12, 2021

Conversation

pcuzner
Copy link
Contributor

@pcuzner pcuzner commented Sep 22, 2021

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

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@pcuzner pcuzner requested a review from votdev September 22, 2021 21:47
@pcuzner pcuzner requested a review from a team as a code owner September 22, 2021 21:47
@pcuzner pcuzner requested review from pereman2 and removed request for a team September 22, 2021 21:47
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>
votdev
votdev previously requested changes Sep 28, 2021
monitoring/prometheus/README.md Outdated Show resolved Hide resolved
monitoring/prometheus/README.md Outdated Show resolved Hide resolved
monitoring/prometheus/README.md Outdated Show resolved Hide resolved
monitoring/prometheus/README.md Outdated Show resolved Hide resolved
Comment on lines +1 to +11
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 }
Copy link
Member

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):

image

Copy link
Contributor Author

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants