Bug 1679609
Summary: | RFE: ceph-dashboard should be able to send SNMP trap upon change of cluster status | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Matthias Muench <mmuench> |
Component: | Cephadm | Assignee: | Paul Cuzner <pcuzner> |
Status: | CLOSED DUPLICATE | QA Contact: | Sunil Angadi <sangadi> |
Severity: | high | Docs Contact: | Karen Norteman <knortema> |
Priority: | high | ||
Version: | 3.2 | CC: | anharris, ceph-eng-bugs, epuertat, flucifre, gsitlani, jelopez, mmuench, pcuzner, rlepaksh, rmandyam, sangadi, sewagner, tserlin, vereddy |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | 5.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-01-18 13:57:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matthias Muench
2019-02-21 14:41:54 UTC
An approach explored in the past consisted of: - ceph-mgr ==> Prometheus exporter ==> Prometheus ==> Prometheus AlertManager ==> HTTP Webhook API ==> Prometheus SNMPTrapper Webhook (https://github.com/chrusty/prometheus_webhook_snmptrapper) However, that latter project shows no activity since 2 years ago. On the other hand, this other webhook integration (https://github.com/maxwo/snmp_notifier) has been recently released. Both rely on Net-SNMP stack. That said, Ceph-Dashboard is not strictly required for this. However, the current upstream approach is to expose AlertManager in Dashboard, so technically we could book a place there for UI. Pros: - No code changes required in Ceph, as long as all metrics to send as 'traps' are already exported to Prometheus. - Prometheus and Alertmanager are already building blocks. - No big caveats in reliability, as long as SNMP traps shouldn't be used (alone) if reliability is a key concern. Cons: - Complexity moved to deployment/configuration stage. - No FOSS License assessment performed yet on those projects. - Both projects seem to have marginal community adoption/response (small or no track of issues/bugfixing activity). So a big question mark in terms of code/SNMP implementation quality. Level setting the severity of this defect to "High" with a bulk update. Pls refine it to a more closure value, as defined by the severity definition in https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity backport pr: https://github.com/ceph/ceph/pull/44529 *** This bug has been marked as a duplicate of bug 1259160 *** |