| Summary: | RFE: monitoring pacemaker cluster with nagios | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | nikhil kshirsagar <nkshirsa> |
| Component: | pacemaker | Assignee: | Ken Gaillot <kgaillot> |
| Status: | CLOSED NOTABUG | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | abeekhof, cluster-maint, rscarazz |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-20 11:48:33 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: | |
|
Description
nikhil kshirsagar
2016-04-05 11:13:39 UTC
We don't have such a plugin but one could be created based on either the 'pcs status' or 'pcs status xml' output Why not using crm_mon (which is part of the package pacemaker-cli) via nrpe and obtaining something like this: [heat-admin@overcloud-controller-0 ~]$ sudo crm_mon -s CLUSTER OK: 3 nodes online, 112 resources configured That's what the -s option was meant for. Of course is not pcs, but maybe it's good enough. In the past, Red Hat did not provide or support nagios itself, so we could not provide or support any nagios plugins either, but I am trying to clarify whether that is still the case, and will comment once I find out the details. As mentioned in Comment 3, there is already a "monitoring plugin mode" for our supported crm_mon tool. Running crm_mon with the -s or --simple-status option will produce output suitable for interpretation by nagios. It can used directly as a nagios plugin to monitor a pacemaker cluster. Its functionality is limited: * It will never go to nagios' critical state, only OK or warning. * It will go to warning state if the cluster is not running, if there is no DC, or if any node is offline. More thorough plugins exist in the nagios community. Those will be unsupported, and may need minor modifications to work in any particular user's environment, but they do provide a detailed status of a pacemaker cluster. I will comment further once I have more information. Red Hat does not provide or support nagios itself. A couple of projects (gluster and packstack) do provide some nagios integration capability, but these are special cases and not applied broadly. Therefore, we will not provide or support one of the cluster agents from the nagios community. However, we do provide and support pacemaker's crm_mon tool, including its -s/--simple-status option, which can be used directly as a nagios plugin. So, that is our supported solution for this situation. If the current capabilities of crm_mon -s are not sufficient for the customer's purposes, we can use this BZ as a request to enhance it. |