Re: Monitoring Nagios server with NRPE
Posted: Fri Oct 04, 2013 5:05 am
Hi Andy,
Yes indeed, it seems the checks I was looking for are in common.cfg.:
I can't find this common.cfg on the Nagios server. Also like I said before the Nagios server is 2.12 and nrpe on the remote Linux server is 2.14. Is there some way to upgrade this? Is common.cfg something that is installed when installing the nrpe agent?
Yes indeed, it seems the checks I was looking for are in common.cfg.:
Code: Select all
### GENERIC SERVICES ###
command[check_init_service]=sudo /usr/local/nagios/libexec/check_init_service $$
command[check_services]=/usr/local/nagios/libexec/check_services -p $ARG1$
### MISC SYSTEM METRICS ###
#command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_users]=/usr/local/nagios/libexec/check_users $ARG1$
command[check_load]=/usr/local/nagios/libexec/check_load $ARG1$
command[check_swap]=/usr/local/nagios/libexec/check_swap $ARG1$
command[check_cpu_stats]=/usr/local/nagios/libexec/check_cpu_stats.sh $ARG1$
command[check_mem]=/usr/local/nagios/libexec/custom_check_mem -n $ARG1$
### YUM UPDATES ###
command[check_yum]=/usr/local/nagios/libexec/check_yum