Ticket #62 (closed enhancement: worksforme)
None
| Reported by: | anonymous | Owned by: | mickem |
|---|---|---|---|
| Priority: | 6 | Milestone: | |
| Component: | NRPEListener | Version: | 0.2.5 |
| Severity: | Patches | Keywords: | None |
| Cc: | None |
Description
First of all, great job on the project!
The only problem I'm having is being able to monitor services with CheckServiceState that contain spaces, such as "FLEXlm License Manager", etc. I've tried numerous methods for escaping the space but nothing seems to work. If there is a way to accomplish this, please provide me with an example. Otherwise, can you please fix this as soon as possible?
Thanks!
- Bill Kimura
Change History
comment:2 Changed 5 years ago by anonymous
- Status changed from closed to reopened
- Resolution fixed deleted
I am having the same problem with service check and service name with spaces. was this resolved? What was the resolution? Problem i have is service "World Wide Web Publishing"
comment:3 Changed 5 years ago by anonymous
acutally using the latest version of NSClient++ 0.2.7,
check_ntwww!SERVICESTATE -l World Wide Web Publishing Service -d SHOWALL And that one doesnt work because of the spaces.
All other servicestate checks i have with no spaces works fine.
comment:4 Changed 5 years ago by mickem
it was resolved in the nightly build, not the latest version, which are you using? (that would be in: NSClient++-20070620-2235.zip)
MickeM
comment:5 follow-up: ↓ 7 Changed 5 years ago by mickem
- Status changed from reopened to closed
- Resolution set to worksforme
Just checked myself and it seems to work with nsclient as well as NRPE..
... -v SERVICESTATE -l "Event Log" -d SHOWALL
The above seemed to work like a charm with the latest nightly...
comment:6 Changed 5 years ago by anonymous
- Severity changed from Bugs to Patches
- Cc None added
- Component changed from CheckSystem to None
- Summary changed from CheckServiceState doesn't work for services with spaces to None
- Priority changed from 1 to 6
- Version changed from 0.2.7 to 0.2.5
- Milestone 0.3.0 deleted
- Keywords None added
- Type changed from defect to enhancement
comment:7 in reply to: ↑ 5 Changed 5 years ago by parrz6@…
- Component changed from None to NRPEListener
Replying to mickem:
Just checked myself and it seems to work with nsclient as well as NRPE..
... -v SERVICESTATE -l "Event Log" -d SHOWALLThe above seemed to work like a charm with the latest nightly...
I am missing something. I just downloaded the recommend nightly build and then I tried the latest build. I am still having problems checking services with spaces.
check_nrpe -H <ip address> -c check_service -a Symantec AntiVirus? (I have tried it with single and double quotes)
What am I missing?
Ken








several rather embarrassing bugs (I sometimes wonder what I do) that I have fixed... The syntax is (BTW) nothing strange from the command line for instance:
would work fine, but " and weel as ' or what ever you fancy should work equally well.
(will be fixed in the next nightly as well as the next release)
MickeM