z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

problem with a Nagios check

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.

problem with a Nagios check

Postby RajeshEzrado » Mon Jun 27, 2022 5:58 am

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]'
Last edited by RajeshEzrado on Wed Aug 10, 2022 5:02 am, edited 1 time in total.
RajeshEzrado
 
Posts: 5
Joined: Thu Jun 02, 2022 2:52 am

Re: problem with a Nagios check

Postby gormank » Tue Jun 28, 2022 1:42 pm

Use \ to escape things: \[...\]
gormank
 
Posts: 1033
Joined: Tue Dec 02, 2014 12:00 pm


Return to Open Source Nagios Projects

Who is online

Users browsing this forum: No registered users and 5 guests