Welcome to the Pandora FMS Module Library

 
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Miscelaneous

Log Directory Plugin Windows

Author: mario_pulido Create in: 02/28/2017 Update in: 02/28/2017
Rating:
Module type : Agent plugin


Plugin to monitor all logs inside a Windows directory.

Using this grep_log.exe plugin modified you could monitor all logs inside a directory.

You need to execute it in a bat file:

Grep_log_directory.bat

@echo off
for /f %%f in ('dir /b <DIRECTORY_PATH>') do <PLUGIN_PATH>\grep_log.exe <DIRECTORY_PATH>\%%f <MODULE_NAME> "<REGEXP>"

Execution:

module_plugin <PATH>\Grep_log_directory.bat

Module data

module_plugin <PATH>\Grep_log_directory.bat

Included files