Bug 1009425 - pnp4nagios dependent on nagios
Summary: pnp4nagios dependent on nagios
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: pnp4nagios
Version: el6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan ONDREJ
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-18 12:16 UTC by Franky Van Liedekerke
Modified: 2020-11-30 15:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-30 15:05:20 UTC
Type: Bug


Attachments (Terms of Use)

Description Franky Van Liedekerke 2013-09-18 12:16:27 UTC
Description of problem:

When trying to install the latest pnp4nagios rpm from EPEL onto a centos server, I saw it was requiring nagios to be installed. Since pnp4nagios can run with icinga as well, I think this requirement should be removed.


Version-Release number of selected component (if applicable):
0.6.20 and 0.6.21


Additional info:
I checked the SPEC file for pnp4nagios and have come up with some improvements:
- remove the line "Requires: nagios"
- make it possible to give a username and groupname to be used when building the RPM from the spec file. The advantage is that then people can use "icinga/icinga" as user/group as well. The extra configure options for these 2 are "--with-nagios-user" and "--with-nagios-group"
- remove the extra subpath "nagios/html" everywhere: pnp4nagios stands on it's own, it has no need to be installed inside a nagios subtree
- also add a init-file for pnp_gearman_worker (a basic init script is included, but it's not redhat/fedora/centos compliant)

Comment 1 Jan ONDREJ 2014-09-02 13:16:57 UTC
Icinga is not a part of Fedora/EPEL, so I think there is no need to make these changes. Configuring pnp4nagios without nagios dependency should be difficult for most users.

I don't think, that there are many users, which can use feature of recompilation of source packages with icinga support.

Closing this bug, but please reopen it, if:
- you can provide patches for pnp4nagios to help usage with icinga
- icinga will be included in Fedora/EPEL repositories

Comment 2 Franky Van Liedekerke 2014-09-02 14:04:44 UTC
I guess I didn't make my case strong enough. I took icinga as an example, but in fact pnp4nagios can even be installed on a different server than nagios and have nagios forward the performance data via gearman to pnp4nagios (pnp4nagios fully supports gearman). So needing to install nagios there also is a bit overkill then.

If wanted, let me know and I can provide a patch for the spec file that at least makes it easier:
- remove the line "Requires: nagios"
- remove the extra subpath "nagios/html" everywhere: pnp4nagios stands on it's own, it has no need to be installed inside a nagios subtree
- also add a init-file for pnp_gearman_worker (a basic init script is included, but it's not redhat/fedora/centos compliant)

Comment 3 Jan ONDREJ 2014-09-02 17:01:26 UTC
OK, I can review your patch, but still I don't think removing of nagios dependency is a good solution for most users.

pnp4nagios usage wihout nagios is a bit complicated. I can't imagine, how to use it. But it's possible to make it configurable in spec file.

Comment 4 Ben Cotton 2020-11-05 16:49:41 UTC
This message is a reminder that EPEL 6 is nearing its end of life. Fedora will stop maintaining and issuing updates for EPEL 6 on 2020-11-30. It is our policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of 'el6'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later EPEL version.

Thank you for reporting this issue and we are sorry that we were not able to fix it before EPEL 6 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged  change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.

Comment 5 Ben Cotton 2020-11-30 15:05:20 UTC
EPEL el6 changed to end-of-life (EOL) status on 2020-11-30. EPEL el6 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
EPEL please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.