Skip to content

Instantly share code, notes, and snippets.

@zouzias
Created February 18, 2015 15:21
Show Gist options
  • Save zouzias/5e344454740fa316ec92 to your computer and use it in GitHub Desktop.
Save zouzias/5e344454740fa316ec92 to your computer and use it in GitHub Desktop.
Install nagios on CentOS client
> wget dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
> rpm -ivh epel-release-6-8.noarch.rpm
> yum install nrpe nagios-plugins-all openssl
Then go to '/etc/nagios/nrpe.cfg '
and update the
allowed_hosts=nagios.change_me.com
Finally,
sudo service nrpe restart
And also restart the server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment