Pages: [1]   Go Down
Author Topic: Configuring a monitoring check to read value from text file  (Read 179 times)
0 Members and 2 Guests are viewing this topic.
Morphius143
Newbie
*

Karma: 1
Offline Offline

Posts: 8


View Profile
« on: November 08, 2011, 03:18:47 PM »

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?
Logged

Morphius143
Newbie
*

Karma: 1
Offline Offline

Posts: 8


View Profile
« Reply #1 on: November 08, 2011, 03:49:53 PM »

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

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST