check_nrpe check_files query
Posted: Thu Jan 04, 2018 6:33 am
Good morning,
I'm running the following command:
and it's reporting
even though there are 8 .exe files in the c:\Windows folder, none of which have a version of 1.0
Just in case I'd misunderstood the functionality, I then changed the "1.0" to a version for which there was one file in the C:\Windows folder with that version, but the result was the same.
Can anyone suggest where I might be going wrong, please?
Thanks in advance
Pete
I'm running the following command:
Code: Select all
./check_nrpe -H 99.99.99.99 -c check_files -a "path=c:/windows/" pattern=*.exe "filter=version != '1.0'" "detail-syntax=%(filename): %(version)" "warn=count > 1" show-all
Code: Select all
No files found|'count'=0;1;0
Just in case I'd misunderstood the functionality, I then changed the "1.0" to a version for which there was one file in the C:\Windows folder with that version, but the result was the same.
Can anyone suggest where I might be going wrong, please?
Thanks in advance
Pete