Opened 16 months ago
Closed 7 months ago
#508 closed defect (worksforme)
CheckFiles and UNC Path
| Reported by: | ts | Owned by: | mickem |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.4.1 |
| Component: | CheckDisk | Version: | 0.3.9 |
| Severity: | Bugs | Keywords: | CheckFiles UNC |
| Cc: |
Description
CheckFiles is not working with UNC path.
CheckFiles -a path=\\\\server\\share\\data\\ pattern=*.sna "filter=size > 100k" "syntax=%filename%" MaxWarn=3
nrpe output:
Check contains error. Check log for details (or enable show_errors in nsc.ini)
nsclient.log:
2012-02-21 10:20:45: debug:NSClient++.cpp:1144: Injecting: CheckFiles: path=\\server\share\data\, pattern=*.sna, filter=size > 100k, syntax=%filename%, MaxWarn=3 2012-02-21 10:20:45: error:include\parsers/filter/where_filter_impl.hpp:85: Invalid file specified: \\server\share\data\ 2012-02-21 10:20:45: error:include\parsers/filter/where_filter_impl.hpp:85: File was NOT found!
The permissions on the share are correct. Maybe my Syntax is not correct. An Example on the wiki site would be usefull, or a note
that it is not supported.
Thanks
Change History (2)
comment:1 Changed 12 months ago by mickem
- Milestone changed from 0.3.10 to 0.4.1
comment:2 Changed 7 months ago by mickem
- Resolution set to worksforme
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.









Try running as admin.
This works for me and many others and usually it is because of two tings:
1, the user (by default local service) does not have access to the share.
2, the share is mounted in another session (which the service is not running in)
Please reopen if you want to provide more details...
Michael Medin