Bug 1249910

Summary: [New] - Nagios service should use systemd on RHEL7 .
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: nagios-server-addonsAssignee: Sahina Bose <sabose>
Status: CLOSED CANTFIX QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.1CC: sabose
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-30 07:55:42 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 RamaKasturi 2015-08-04 06:46:20 UTC
Description of problem:
As of now nagios service does not systemd on RHEL7 and users will be able to see the following ouput on terminal while installing nagios-server-addons.

Installing : nagios-server-addons-0.2.1-7.el7rhgs.x86_64                                                                                                                                                                             38/40
success
success
success
nagios.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig nagios on
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
   .wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
   a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
   D-Bus, udev, scripted systemctl call, ...).
ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
ln -s '/usr/lib/systemd/system/nsca.service' '/etc/systemd/system/multi-user.target.wants/nsca.service'
  Cleanup    : mesa-libGL-10.2.7-5.20140910.el7.x86_64                                                                                                                                                                                 39/40
  Cleanup    : mesa-libglapi-10.2.7-5.20140910.el7.x86_64                                                                                                                                                                              40/40
rhel-7-server-rpms/7Server/x86_64/productid                  

Version-Release number of selected component (if applicable):
nagios-server-addons-0.2.1-7.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL7 ISO
2. Subscribe to required channels using subscription manager.
3. Run 'yum install nagios-server-addons'

Actual results:
Nagios server addons gets installed successfully, but it prints out the mesages which is present in the description beause nagios does not use systemd.

Expected results:
Nagios and any other services related to nagios should start using systemd instead of system v init scripts in RHEL-7

Additional info:

Comment 6 Sahina Bose 2018-01-30 07:55:42 UTC
Thank you for the bug report. However, closing this as the bug is filed against gluster nagios monitoring for which no further new development is being undertaken.