Page 1 of 1

problem with a Nagios check

Posted: Mon Jun 27, 2022 5:58 am
by RajeshEzrado
I have a problem with a Nagios check, and it's that I need to check a Windows service using nrpe, but the service name has square brackets. Anybody here knows how to escape square omegle.2yu.co brackets? My check arguments go like this:

$ARG1$ check_service $ARG2$ -a service='serviceName omeglz echat [1016]'

Re: problem with a Nagios check

Posted: Tue Jun 28, 2022 1:42 pm
by gormank
Use \ to escape things: \[...\]