Bug 719691

Summary: nagios requires http and php intergration to function - php apache module is missing as a dependency
Product: [Fedora] Fedora EPEL Reporter: Matt Darcy <matt>
Component: nagiosAssignee: Jose Pedro Oliveira <jose.p.oliveira.oss>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: jose.p.oliveira.oss, lemenkov, linux, ondrejj, ralph, shawn.starr, stijn
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-10 01:44:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch for adding php to Requires: none

Description Matt Darcy 2011-07-07 16:53:10 UTC
Description of problem:
nagios 3.2.3-8.el6 x86_64 package in EPEL requires a web server with php modules enabled to function. httpd is listed as a dependency but not the php module. The php module must be installed post install

Version-Release number of selected component (if applicable):
3.2.3-8.el6 x86_64

How reproducible:
everytime

Steps to Reproduce:
1. install an enterprise linux 6 distribution 64bit
2. enable EPEL 6 repo
3. install nagios via yum "yum install nagios"
4. configure and start nagios, 
5. browse to http://hostname/nagios
  
Actual results:
nagios refuses to display due to index.php not being added to the httpd.conf's index file list due to php not being installed. Browsing to specific nagios pages shows garbled results, due to php varibles being displayed rather than processed. This is resolved by installing php and restarting apache 

Expected results:
nagios welcome/status page

Additional info:
worth checking on the 32bit version - the deps look the same but I don't have a 32bit system to validate at this time.

Comment 1 Ralph Angenendt 2011-10-25 09:52:58 UTC
The 32bit version behaves the same. Looks like stuff in /usr/share/ isn't picked up by auto requires, so php isn't added to the dependency list.

Comment 2 Ralph Angenendt 2011-10-25 09:54:40 UTC
Created attachment 530041 [details]
Patch for adding php to Requires:

Proposed patch (just adds php to the requirement list.

Comment 3 Jose Pedro Oliveira 2012-02-10 01:44:14 UTC

*** This bug has been marked as a duplicate of bug 519371 ***