Page 1 of 1

Installing Nagios XI on a AWS EC2 RHEL Instance

Posted: Tue Mar 24, 2015 11:00 am
by ctwhyexit
Hi Experts,

I've seen a similar thread on this before but I need a clarification.
We are evaluating Nagios XI for a client having a instance on the AWS cloud. It is running on Red Hat 6.5 and has access to the following repositories,

[root@hostname nagiosxi]# yum repolist
Loaded plugins: amazon-id, rhui-lb, security
repo id repo name status
rhui-REGION-client-config-server-6 Red Hat Update Infrastructure 2.0 Client Configuration Server 6 4
rhui-REGION-rhel-server-releases Red Hat Enterprise Linux Server 6 (RPMs) 14,681
rhui-REGION-rhel-server-releases-optional Red Hat Enterprise Linux Server 6 Optional (RPMs) 8,239
rhui-REGION-rhel-server-rh-common Red Hat Enterprise Linux Server 6 RH Common (RPMs) 96
repolist: 23,020

As you can see, the repository does have the Optional RPM included but Nagios XI fails with,

Unable to locate SystemId file. Is this system registered?
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
You can do so in the Redhat Network web interface or using the rhn-channel command.
or, install the yum-utils package and use the following command:
yum-config-manager --enable rhel-6-server-optional-rpms
RESULT=1


We cannot register the system with Red Hat as we already have these instances getting the packages from AWS repos and do not need a subscription to get the packages from RH repository. What is your advice/suggestion for customers like us who have a functional RH system with the required repository listed. Is there any way we can tweak the underlying installer.

Thanks for your help.

Re: Installing Nagios XI on a AWS EC2 RHEL Instance

Posted: Tue Mar 24, 2015 12:38 pm
by jdalrymple
http://support.nagios.com/forum/viewtop ... =6&t=26521

Instead of lines 31 through 39, do 30 through 39.

Re: Installing Nagios XI on a AWS EC2 RHEL Instance

Posted: Wed Mar 25, 2015 7:43 am
by ctwhyexit
Thank you. I tried this earlier and the installer failed saying it could not install a package pymssql from the repository (nagios-deps) the script was supposed to install. I did a re-install of the OS and tried again by commenting out, line 30 to line 57 on 0-repos file under nagiosxi folder
That worked.

Thank you for your help

Re: Installing Nagios XI on a AWS EC2 RHEL Instance

Posted: Wed Mar 25, 2015 9:04 am
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!