I am using a nagios o centos server and I want to track only the local host.
I defined my service like this
define service{ host_name localhost service_description Site1Service check_command check_http-site1 use generic-service notification_interval 1440 }
and
run command.cfg
define command{ command_name check_http-site1 command_line /usr/lib/nagios/plugins/check_http -H site1.dreaddomain.com }
I get a critical error there. so I want to check from the command line if this service is running or not
source share