We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

problem with a Nagios check

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

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: 4
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: 1010
Joined: Tue Dec 02, 2014 12:00 pm


Return to Community Support

Who is online

Users browsing this forum: No registered users and 29 guests

cron