Monitor Available Services

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
alyssa909
Posts: 3
Joined: Mon Dec 28, 2015 6:33 pm

Monitor Available Services

Post by alyssa909 »

Hi everyone :D
I'm running Nagios Core 4.1.1 on CentOS 7. I've installed Nagios Plugins 2.1.1 and installed NRPE version 2.15.
On my client side, I've installed NRPE using this command:
yum install nrpe nagios-plugins-all
I would like to learn how to monitor Disk usage, Running processes, Memory usage, and CPU load on the client side and monitor it from my Nagios server web interface.
So far on my Nagios server, in the file /etc/nagios/nrpe.cfg I have configured define service, but I don't know the proper syntax to enter for check_command. Here is what I have so far:
define service {
use generic-service
host_name NS1
service_description Disk Usage
check_command check_ssh
}
define service {
use generic-service
host_name NS1
service_description Running processes
check_command check_ssh
}
define service {
use generic-service
host_name NS1
service_description CPU load
check_command check_ssh
}
define service {
use generic-service
host_name NS1
service_description Memory Usage
check_command check_ssh
}

Also, I read a similar thread that was posted today, but it doesn't help with what I'm trying to do.
Thanks
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitor Available Services

Post by rkennedy »

Can you post your whole /etc/nagios/nrpe.cfg file for us to review?
Former Nagios Employee
Locked