Freeware and Plugins

Freewaregruppe Monitoring/Nagios-Plugins

check_filesystem_e

Windows-Plugin: checks the integrity of any files by their file size (checksum in bytes)

Description

check_filesystem_e is a Windows plugin for Nagios, which checks the integrity of any files by their file size (checksum in bytes) .

A comma- separated list of Excludes is possible, supports also Regex for file names.

Requirements

Documentation

The script usually is called with the desired file specification and the expected size :

C:> check_filesystem_e.exe subdir=<Programm Dir to scan> filename=<Name of File(s) to scan> filesize=<expected size in bytes>

For debugging purposes, it may also be called with a more detailed output option (this mode is not suitable for continuous operation, but for testing purposes only).

Afterwards it will output the detailed status of the individual components :

C:> check_filesystem_e.exe subdir=d:\logs filename=*.log filesize=7 debug

For informations and usage you can call it with the help command:

C:\>check_filesystem_e.exe help

Installation

Preferably the plugin is copied into the script directory where you will store your checks under Windows

When using NSClient ++ use an entry in NSC.INI similar to this, pointing to check_filesystem_e.exe:

Examples

Checks a Tobit David Address-Archive for defects or corruptions on system-files, here: things are OK:

c:\scripts\check_filesystem_e.exe subdir=d:\david\archive\address filename=*.dat filesize=430 timeout=300

Changelog

2014-06-04
1.2 – Support for .Net 4.0

2011-02-03
1.1 – several small fixes

2010-29-01
1.0 – First public version

Copyright

check_filesystem_e is licensed under the GNU General Public License .

Author

Joachim Luft will answer your questions to this Plugin and is happy about your donation.

Freeware name

check_filesystem_e

  • System: Nagios Plugins und Addons
  • Date: 06.April 2014
  • Author: Joachim Luft
  • Version: 1.2

Category: Monitoring/Nagios-Plugins

Tags: Windows-Plugin

Download