Bug 1752383
Summary: | Nagios check_oracle plugin not compatible with el6. | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Philip Ward <p.g.ward> |
Component: | nagios-plugins | Assignee: | Stephen John Smoogen <smooge> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | el6 | CC: | athmanem, b.heden, herrold, johan.hoeke, kirill.gryaznov, lemenkov, smooge, smooge, ssoto, swilkerson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | nagios-plugins-2.3.1-1.el7 nagios-plugins-2.3.1-3.el6 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-01-05 00:07:16 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
Philip Ward
2019-09-16 08:50:35 UTC
On el6 line 169 of the check_oracle script reads: pmonchk=$(pgrep -f -c "(asm|ora|xe)_pmon_${2}$") Change it to pmonchk=$(pgrep -f "(asm|ora|xe)_pmon_${2}$" | wc -l) and the script works. Thanks. I will make a patch and put this out in the next couple of days for an update to 2.2.2 which rolled out while this was in testing. Thanks Stephen. I have just updated to nagios-plugins-oracle-2.2.2-2.20190926git1b8ad57.el6.x86_64 and the bug is back. I assume my report was too close to the release date for the patch to get in? Made pull request - https://github.com/nagios-plugins/nagios-plugins/pull/495 pull request accepted *** Bug 1769834 has been marked as a duplicate of this bug. *** FEDORA-EPEL-2019-f6182b7356 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-f6182b7356 This build should have the fix for this. It is also a major change so I have made the change need 5 karma to get out of testing. FEDORA-EPEL-2019-a181371b74 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-a181371b74 nagios-plugins-2.3.1-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-a181371b74 Tested EL6 version. Working good! nagios-plugins-2.3.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. This issue was closed but the issue was created for a bug in EL6. The EL6 version has not been pushed to stable. What is the fix status for EL6? FEDORA-EPEL-2020-f97bb3ff1c has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-f97bb3ff1c nagios-plugins-2.3.1-3.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-f97bb3ff1c nagios-plugins-2.3.1-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |