Home Directory Plugins Security checkfilechange

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

checkfilechange

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2017-03-19
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Twitter Handle
@chipongue04
License
GPL
Hits
8085
Files:
FileDescription
check_filechange.pycheck_filechange.py
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This Nagios plugin monitors the state of files/directors, using the inotify State Monitoring tool, receiving as arguments the states and files/directors to be monitored, as well as the path of the log file, where the inotify registers the events, notifying the critical state if a state is changed.

NB.: Your execution requires installing the inotify-tools.
File and/or directorial monitoring.

Files are groupings of records that follow a structural rule, and may contain data, documents, or programs, stored in a board, which is a mechanism that allows you to organize files according to the subjects they relate to.
Several are the files/directors of the system or not, whose state (open, close, changing, moving, deleting, renaming, or creating is to remain unchanged, and therefore the change in the state of these can be a hint of security problems, and your monitoring is a great solution to ensure that undesirable situations occur in an unnoticed way.

This Nagios plugin monitors the state of files/directors, using the inotify State Monitoring tool, receiving as arguments the states and files/directors to be monitored, as well as the path of the log file, where the inotify registers the events, notifying the critical state if a state is changed.
NB.: Your execution requires installing the inotify-tools.



Mandatory arguments The following arguments must be specified when the module is executed:-P or – path used to specify the full path of the log file of inotify.
-and or – events used to specify the events to be monitored.
-F or – files used to specify the principals or files to be monitored.

Optional arguments: The following arguments are optionally invoked, as user needs:-V or – version used to query the module version.
-A or – author used to query the author's data.

Command-Line Execution Example:

./check_filechange -p /var/log/inotify/inotify.log -f /home/cgs/ -e access,open