Hi!
Our process is generating some files every five minutes and therefore would like to check if the process is running well. I would like to count the number of files that are not older than 30 minutes. When I execute File.Count() on local folder where NetXMS is installed everything is ok and it returns the number of files in that folder. However, when I try to execute the next command I get ERROR.
The debug reports next:
What could be the reason for such an error since the debug report doesn't give me any clue what the problem is. The only thing I think of is mybe not access rights...
I'm using version 2.0.6
Thanks, zabig
Our process is generating some files every five minutes and therefore would like to check if the process is running well. I would like to count the number of files that are not older than 30 minutes. When I execute File.Count() on local folder where NetXMS is installed everything is ok and it returns the number of files in that folder. However, when I try to execute the next command I get ERROR.
Code Select
File.Count(\\nasrcv01\mape\arhivi\skupni,*,0,0,-1800)The debug reports next:
Code Select
[15-Sep-2016 23:45:36.712] [DEBUG] [session:0] Message dump:
** 00410000000000980000245D00000001
** 00000055010000000000007600460069
** 006C0065002E0043006F0075006E0074
** 0028005C005C006E0061007300720063
** 007600300031005C007500690062005C
** 006100720068006900760069005C004E
** 00650070006C0061006E005F0073006B
** 00750070006E0069002C002A002C0030
** 002C0030002C002D0031003800300030
** 0029000000000000
** code=0x0041 (CMD_GET_PARAMETER) flags=0x0000 id=9309 size=152 numFields=1
** [ 85] STRING "File.Count(\\nasrcv01\uib\arhivi\Neplan_skupni,*,0,0,-1800)"
[15-Sep-2016 23:45:36.712] [DEBUG] [session:0] Received message CMD_GET_PARAMETER
[15-Sep-2016 23:45:36.712] [DEBUG] [session:0] Requesting parameter "File.Count(\\nasrcv01\uib\arhivi\Neplan_skupni,*,0,0,-1800)"
[15-Sep-2016 23:45:36.712] [DEBUG] H_DirInfo: path="\\nasrcv01\uib\arhivi\Neplan_skupni" pattern="*" recursive=false mode=1
[15-Sep-2016 23:45:36.712] [DEBUG] [session:0] GetParameterValue(): result is 500 (INTERNAL_ERROR)
[15-Sep-2016 23:45:36.712] [DEBUG] [session:0] Sending message CMD_REQUEST_COMPLETED (size 32)
[15-Sep-2016 23:45:36.712] [DEBUG] [session:0] Outgoing message dump:
** 001D0008000000200000245D00000001
** 0000001C00000000000001F400000000
** code=0x001D (CMD_REQUEST_COMPLETED) flags=0x0008 id=9309 size=32 numFields=1
** [ 28] INT32 500What could be the reason for such an error since the debug report doesn't give me any clue what the problem is. The only thing I think of is mybe not access rights...
I'm using version 2.0.6
Thanks, zabig