Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Configuring a monitoring check to read value from text file
#1
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_begin
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 .*
module_end

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


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes