check_md5/README
2013-06-04 17:35:49 -04:00

26 lines
692 B
Plaintext
Executable File

check_md5 and check_sha512
A Nagios plugin written in Bash to check the MD5 sum of a single file.
In case the files MD5 change the plugin issues a critical state. This behavior
can be changed by using a --warning argument, so that only a warning state is
issued.
The new check_sha512.sh checks does the exact same thing except it uses sha512sum.
Replace the --md5 flag with --sha512.
Options:
-h
Print detailed help screen
-V
Print version information
--warning
Issue a warning state instead of a critical state in case of a MD5 failure
Default is critical
--file /path/to/file
Set which file to monitor
--md5 md5checksum
Set the MD5 checksum for the file set by --file