I am trying to monitor all services that are set to automatic, but I need to exclude a few services. These services contain spaces. Below are the command I am using:
define command{
command_name check_service
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckServiceState -a CheckAll "exclude=NetBackup Device Manager"
}
This is sending the command wrong and splitting the service name up:
7 15:57:40: debug:NSClient++.cpp
Could somebody please help ?
Thanks