#525 closed defect (fixed)
CheckProcState case sensitive as of 169
|Reported by:||ga15859||Owned by:||mickem|
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?