/nagios-check-dir-changes

Nagios plugin to check a list of folders recursively for files changes or new files using a PHP script.

Primary LanguagePHPMIT LicenseMIT

Nagios Check Directory Changes plugin

Check directory recursively for file changes or new files by Kristian Just.

Based on File size growth checking plugin for Nagios by Aaron Segura (aaron.segura@gmail.com).

Usage

check_dir_changes.php -i <cfgfile> [-y <tmpdir>] [-l <logfile>] -w <warning> -c <critical>

    -i     Path to configuration file containing directories to check 
           (see configuration.php.example)
    -w     Number of files changed warning threshold
    -c     Number of files changed critical threshold
    -y     Directory to keep state files, defaults to /tmp
    -l     Path to log file

Changelog

  • 1.0 - 16/04/2018 First working version

Contact

Kristian Just

kristian@justiversen.dk