Nagios service failed to restart

Hi, i cannot restart my nagios service after i configure nfs monitoring for my clients and i got the following error


Checking objects...
Error: Service check command '' specified in service 'NFS' for host '' not defined anywhere!
Tags: Monitoring tool Nagios
user image Author :   eldhapearline

have you defined command on your command.cfg file (/usr/local/nagios/etc/objects/commands.cfg) you need to mention the command as shown below on your commands.cfg file

define command{
        command_name    check_nfs
        command_line    $USER1$/ -I $HOSTADDRESS$ $ARG1$
user image
parthiban April 16, 2018
thank you Elakkiya April 24, 2018
Add comment