Skip to content
Pall Sigurdsson edited this page Feb 3, 2014 · 2 revisions

Install on RPM based systems (redhat, centos, fedora)

# Install okconfig repositories
rpm -ihv http://opensource.ok.is/repo/ok-release.rpm
yum update ok-release -y

# If on redhat/centos, you need to install epel repositories (fedora users skip this)
yum install epel-release

# Install the okconfig rpm and all related plugins
yum install -y okconfig nagios-plugins-* nagios-okplugin-* check*health --skip-broken

# Note, the skip-broken is there, because some plugins depend on proprietary software, like
# check_oracle_health needs oracle libraries to be installed. If you do not have those dependencies
# some plugins will not work

# If your nagios.cfg is in an unusual location, you need to edit okconfig.conf and update paths manually
vim /etc/okconfig/okconfig.conf

# Test the installation
okconfig verify

Clone this wiki locally