Skip to content

Instantly share code, notes, and snippets.

@ntk148v
Created June 9, 2016 06:41
Show Gist options
  • Save ntk148v/2ed76a7fc59ff1f9a235835966e8ee81 to your computer and use it in GitHub Desktop.
Save ntk148v/2ed76a7fc59ff1f9a235835966e8ee81 to your computer and use it in GitHub Desktop.
  1. Install NRPE and Nagios Plugins.
  sudo apt-get install nagios-nrpe-server nagios-plugins
  1. Configure NRPE. Change your nrpe configurtion, open /etc/nagios/nrpe.cfg then change these lines:
  servers_address = <actual_ip_of_this_host>
  allowed_hosts=127.0.0.1, <nagios_monitoring_host>

Save it and exit.

  1. Restart nagios-nrpe-server service.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment