Pandora FMS community forums

Full Version: Configuring a monitoring check to read value from text file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All.

Not too sure if anyone can help with this, but I am trying to configure a dfsr backlog check. I have a powershell script that generates a text file with nothing but the number of backlogged files in it, but when I add the following check to the windows agent conf file it always seems to return a 0

module_name File1atoFile2a
module_type generic_data
module_regexp D:\Scripts\DrawingOfficeWebPage\Pandora\file1atofile2a.log
module_description DFS Backlog for File1a to File2a
module_pattern .*

Any ideas?
Never mind... I managed to work around this using an exec check and running Type <Name of log file>