Ticket #407 (new defect)

Opened 17 months ago

CheckFileSize: checking Files on UNC-Paths (Novell)

Reported by: bunnu Owned by: mickem
Priority: 1 Milestone: 0.3.8
Component: check_nrpe Version: 0.3.8
Severity: Bugs Keywords:
Cc:

Description

Hi,

I'm trying to check the filesize of unique files with unc paths. I'm able to check the files with CheckFile2, so the service seems to be able to access these files.

For checking the filesize, I'm using following command:

$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckFileSize -a ShowAll MaxWarn=$ARG1$ MaxCrit=$ARG2$ File:'$ARG3$'='$ARG4$'

The following error appears in the logfile:

2010-09-01 09:09:59: debug:NSClient++.cpp:1100: Injecting: CheckFileSize: ShowAll, MaxWarn=10, MaxCrit=20, File:file.ext=\\server\folder1\folder2\file.ext
2010-09-01 09:09:59: debug:modules\CheckDisk\CheckDisk.cpp:411: Looking for: pattern: \\server\folder1\folder2, pattern: file.ext
2010-09-01 09:09:59: error:modules\CheckDisk\CheckDisk.cpp:375: Invalid file specified: \\server\folder1\folder2
2010-09-01 09:09:59: debug:modules\CheckDisk\CheckDisk.cpp:397: Looking for: path: \\server\folder1, pattern: folder2
2010-09-01 09:09:59: debug:modules\CheckDisk\CheckDisk.cpp:134: File was NOT found!
Note: See TracTickets for help on using tickets.