NetXMS Support Forum

English Support => General Support => Topic started by: Dunbar on January 25, 2017, 03:27:22 PM

Title: File.Count
Post by: Dunbar on January 25, 2017, 03:27:22 PM
Hi all

I want to check whether there is a new file every day in a specific folder or not
How to configure the threshold for this case ?
I tried
Function : Last Polled Value
Operation: == equal to    Value ?
My problem is the Value .Because file.count in the folder is growing, not a fixed value.
One day it is 20 ,weeks later maybe 50. So how to compare this with  "yesterday" ?
Title: Re: File.Count
Post by: Tatjana Dubrovica on January 25, 2017, 03:34:50 PM
You can check Example 2 : https://www.netxms.org/documentation/adminguide/file-meta-info-monitoring.html#example-2
Check that the count of files that were created in last 24 hours is bigger than zero.
Title: Re: File.Count
Post by: Dunbar on February 15, 2017, 03:59:27 PM
Thanks , works fine