Fusion on CentOS 7

This support forum board is for questions relating to Nagios Fusion.
Locked
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Fusion on CentOS 7

Post by mguthrie »

Hey Guys!

I was muscling my way through the Fusion installer yesterday on CentOS 7, and I thought I'd send some notes your way for the dev team to look at for when you guys move towards officially supporting it. This was on 64bit CentOS7

- 0-yum - needed Cent7 versions of epel-release and rpm-forge yum repos. Installed manually
- 11 - Sourcegaurdian - everything extracted correctly, but the verification step failed because is was looking in the wrong $php_extension_dir in install-sourcegaurdian-extension.sh.
- D - checkconfigalldeamons / F - startdaemons - all of this is now needing to go through systemctl. I used this article below to brush up on it:
http://linoxide.com/linux-command/start ... s-systemd/

- no more /etc/init.d/httpd restarts, all needs to be

Code: Select all

systemctl restart httpd.service
Also, once I got it installed, I'm seeing an issue with all of the data that get's saved by using serialize() and then set_option / get_option is not working properly (which is most everything in fusion). I came across this article that explained the problem:
http://www.jackreichert.com/2014/02/02/ ... set-error/

I might suggest for future releases adding something into the set_option() function that checks if the option is an array, and if it is, it will serialize AND base64_encode it. And then get_option can check it and reinflate it on the way out.

Hope you guys are doing well!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Fusion on CentOS 7

Post by scottwilkerson »

Thanks Mike!

We are getting the CentOS/RHEL 7 support for Fusion working and tested as well as a quite a few bug fixes that have already completed wrapped up in a new release we will have put together shortly.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
User avatar
rcoultas
Posts: 2
Joined: Tue Apr 26, 2011 1:12 pm
Location: Springfield, IL US
Contact:

Re: Fusion on CentOS 7

Post by rcoultas »

Just FYI, the system requirements html page here: https://assets.nagios.com/downloads/nag ... 1481658216
Do not match the PDF install guide. The PDF was my first result on Google. HTML page states support for CentOS/RHEL 7 and the PDF does not. I thought Fusion was not supported on CentOS/RHEL 7 at first.
Nagios Featured Reseller - North America
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Fusion on CentOS 7

Post by dwhitfield »

Thank you for letting us know. I let our documentation team know about the issue. Is there anything else we can help you with or are we ready to close the thread?
User avatar
rcoultas
Posts: 2
Joined: Tue Apr 26, 2011 1:12 pm
Location: Springfield, IL US
Contact:

Re: Fusion on CentOS 7

Post by rcoultas »

I did end up getting this to install on RHEL 7.3. I ran (I think this was needed)

Code: Select all

yum-config-manager --enable rhel-7-server-optional-rpms
Then commented this code out from 0-yum:

Code: Select all

# Check that the Red Hat installation is valid
if [ -x /usr/sbin/rhn_check ] && ! /usr/sbin/rhn_check 2>/dev/null; then
	echo "Your Red Hat Installation is not registered or does not have proper entitlements." >&2
	echo "Please register or enable entitlements at rhn.redhat.com." >&2
	exit 1
# Check for the proper "Channels" - added conditional to make sure it's not CentOS 6  -MG 
elif [ "$dist" = el6 ] && ! rpm -q centos-release && ! rhn-channel -l | grep -q rhel-.\*-server-optional-6 ; then
	echo "ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions." >&2
	echo "       You can do so in the Redhat Network web interface or using the rhn-channel command." >&2
	exit 1
fi
Since rhn_check would not work on RHEL 7.3 the install script would otherwise error out. I made sure the subscription was working before I did this though. I didn't have any other issues with Fusion on RHEL 7.3 and have added 4 XI servers and it is working well so far.
Nagios Featured Reseller - North America
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Fusion on CentOS 7

Post by dwhitfield »

The documentation should be getting an update in the near future...when the new version of Fusion comes out.

Regarding the new docs:
I already have them prepared waiting for the ability to do screenshots
No timetable on release just yet.
Locked