Difference between revisions of "Monitoring using Nagios"
From GlueXWiki
(→Installing <b>nagios</b>) |
|||
Line 2: | Line 2: | ||
− | We will probably be using RHEL5 or RHEL6 for online computers behind a firewall. I tried installing <b>nagios</b> on Linux box <i>somov-l1</i> which was on the 36-subnet. The installation using <i>sudo yum install nagios</i> failed because RHEL5 does not include <b>nagios</b>. Then I downloaded an RPM <epel-release-5-4.noarch.rpm</i> and installed it, which added Fedora EPEL repositories to the <i>/etc/yum.repos.d</i> directory. But because there was not access to the Fedora mirror list or the mirrors I was not able to do the installation. | + | We will probably be using RHEL5 or RHEL6 for online computers behind a firewall. I tried installing <b>nagios</b> on Linux box <i>somov-l1</i> which was on the 36-subnet. The installation using <i>sudo yum install nagios</i> failed because RHEL5 does not include <b>nagios</b>. Then I downloaded an RPM <i>epel-release-5-4.noarch.rpm</i> and installed it, which added Fedora EPEL repositories to the <i>/etc/yum.repos.d</i> directory on <i>somov-l1</i> Linux-box. But because there was not access to the Fedora mirror list or the mirrors I was not able to do the installation. |
* Asked CC to include <i>http://download-i2.fedoraproject.org/pub/epel/</i> to the proxy whitelist. | * Asked CC to include <i>http://download-i2.fedoraproject.org/pub/epel/</i> to the proxy whitelist. |
Latest revision as of 13:55, 19 August 2011
Installing nagios
We will probably be using RHEL5 or RHEL6 for online computers behind a firewall. I tried installing nagios on Linux box somov-l1 which was on the 36-subnet. The installation using sudo yum install nagios failed because RHEL5 does not include nagios. Then I downloaded an RPM epel-release-5-4.noarch.rpm and installed it, which added Fedora EPEL repositories to the /etc/yum.repos.d directory on somov-l1 Linux-box. But because there was not access to the Fedora mirror list or the mirrors I was not able to do the installation.
- Asked CC to include http://download-i2.fedoraproject.org/pub/epel/ to the proxy whitelist.
- Added "proxy=http://jprox:8082" to /etc/yum.conf file.
- Changed the mirror list in the /etc/yum.repos.d/epel.repo file to "baseurl=http://download-i2.fedoraproject.org/pub/epel/5/$basearch".
- Did sudo yum install nagios
- Did sudo yum install nagios-plugins-all
Well, the RPM installation worked.