Opened 3 years ago

Closed 16 months ago

#407 closed defect (worksforme)

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!

Change History (1)

comment:1 Changed 16 months ago by mickem

  • Resolution set to worksforme
  • Status changed from new to closed

This has been discussed many times and usually boils down to privileges.
If not please re open with

Note: See TracTickets for help on using tickets.