How to define a command in nagios with special characters
I have been trying to define a command in nagios with the command name including special characters like <<CheckFileSize>>. The problem is when I am running pre-flight check on configuration data it gives me error as below
Checking commands...
Error: The name of command '<<CheckFileSize>>" contains one or more illegal characters.
Checked 32 commands.
command definition:
++++++++++++++++++
define command {
command_name <<CheckFileSize>>
command_line check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckFileSize -a ShowAll MinWarn=$ARG2$ MinCrit=$ARG1$ File=c:/pagefile.sys
}
|