Page 1 of 1

Linux and nrpe

Posted: Fri Feb 19, 2016 4:16 am
by kaiserclaw
Hi (again),

I have managed to learn nagios and have tested the monitoring of a few Windows servers. Now I have a Linux machine I want to try to monitor. On Windows machines, I have a small client software - Do Linux also need some form of client software? I've tried disk check via nrpe to host but I get "Connection refused by host" on all checks except ping.
Ports are open in the firewall so the firewall is not stopping checks.

Is there a manual for how to prepare a Linux machine for monitoring?
I Googled but have not found anything useful.

I can also add that I'm not familiar with the Linux command prompt. I have not worked much with it, just the usual basic commands, updates etc.

Re: Linux and nrpe

Posted: Fri Feb 19, 2016 9:09 am
by eloyd
NRPE is an agent that runs on the remote Linux machine. It responds to requests from the Nagios server, executes checks, and returns the results. There are a lot of resources on how to get started using NRPE on Linux. Google is your friend, but you might want to start with looking at https://www.nagios.org/downloads/nagios-core-addons, because there are other options as well.

Re: Linux and nrpe

Posted: Fri Feb 19, 2016 9:33 am
by kaiserclaw
Well.. I managed to download the NRPE package from nagios and installed it, edited nrpe.cfg and added my monitoring server IP to allowed hosts, restarted the nrpe service and it worked. Don't know if this is the right method?

Re: Linux and nrpe

Posted: Fri Feb 19, 2016 9:35 am
by eloyd
You got it perfect!

Re: Linux and nrpe

Posted: Fri Feb 19, 2016 10:26 am
by rkennedy
Are we good to mark this thread as resolved and close it out?