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.
I have created a new host config and it is reporting localhost stats. I have checked with check_nrpe and the host returns the NRPE Version. Below is my host definition, any insight to what I could be doing wrong is greatly appreciated.
define host{
use linux-server ; Name of host template$
; This host definition $
; in (or inherited by) $
host_name Web1
alias Web 01
address XXX.XXX.35.208
}
define service{
use generic-service ; Name of service template to use
host_name Web1
service_description Root Partition
check_command check_local_disk!20%!10%!/
}
however, when I change check_local_disk to check_disk I receive a configuration error, what should my check commands be to check the remote machine?
That depends on your command definitions. The check_command is not the same as the plugin's file name (there is command definition which is defined first and then used in service checks). Look through your command definitions and if you don't see one that looks applicable, you may have to write a new one. See the Nagios Core documentation here for more details about command definitions.