Opened 13 months ago
Closed 6 months ago
#525 closed defect (fixed)
CheckProcState case sensitive as of 169
| Reported by: | ga15859 | Owned by: | mickem |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.4.1 |
| Component: | CheckSystem | Version: | 0.4.0 |
| Severity: | Bugs | Keywords: | |
| Cc: |
Description
This may have existed in 163 as well; apologies, I'm not sure. I am attempting to perform this command:
./check_nrpe -H SERVER -c CheckProcState -a ShowAll JobService.exe=started MaxCritCount=1
This check works on 3.9, but with 4.0.169, it fails, saying the job is not running. It does, however, work properly if I change to all lowercase, i.e., jobservice.exe instead of JobService?.exe. For what it's worth, the Path to executable for the service I'm checking shows it as "JobService?.exe".
Also, might be worth returning a different error that "service stopped" when CheckProcState doesn't find the service to begin with - perhaps UNKNOWN?
Change History (1)
comment:1 Changed 6 months ago by mickem
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.









Resolved in next build, case insensitive again...
Michael Medin