Ticket #3 (closed testcase: None)

Opened 7 years ago

Last modified 5 years ago

None

Reported by: fichi Owned by: nobody
Priority: 9 Milestone: 0.3.0
Component: Core Module Version: None
Severity: Bugs Keywords: None
Cc: None

Description

I discovered a problem when you try to test for
services that contain spaces in their names.

I have a services "Norton AntiVirus Server" which I can
check from nagios by

./check_nrpe -H server -p 5666 -c checkServiceState -a
ShowAll "Norton AntiVirus Server"

but if I try to create an alias in the [NRPE Handlers]
section like
check_service_norton= inject checkServiceState Showall
"Norton AntiVirus Server"

and do
./check_nrpe -H server -p 5666 -c check_service_norton

I get 
WARNING: Showall : Unknown - "Norton : Unknown -
AntiVirus : Unknown - Server" : Unknown

It seams that the spaces break up the name service name
into different services and it would be great to be
able to escape spaces with "\ " or %20 or whatever.
Further I think the " should be stripped of the
variable names. 

Change History

comment:1 Changed 7 years ago by mickem

  • Status changed from assigned to closed
Logged In: YES 
user_id=329244

This is added (I hope) in the latest version... let me know
if it doesn't work.

comment:2 Changed 5 years ago by anonymous

this is the same with checkfilesize in version 2.5h2. Dont know about any newer versions though.

comment:3 Changed 5 years ago by anonymous

  • testcase_result set to incomplete
  • Severity changed from Feature Requests to Bugs
  • Cc None added
  • Component changed from None to Core Module
  • Summary changed from Escape spaces in NSC.ini to None
  • Priority changed from 5 to 9
  • Milestone set to 0.3.0
  • Keywords None added
  • Type changed from defect to testcase
Note: See TracTickets for help on using tickets.