Home Directory Plugins Others check_file_checksum.pl (Advanced Nagios Plugins Collection)

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

check_file_checksum.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Hits
5541
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check a file's checksum against an expected value
Part of the Advanced Nagios Plugins Collection

Download it here:

https://github.com/harisekhon/nagios-plugins

check_file_checksum.pl

Nagios Plugin to check a file's checksum against an expected value

Useful if you want to check a file has been deployed and is the same version as stored in say Git

Consider combining with check_git_branch_checkout.pl to ensure you're checking the right file from the right Git branch to check against the deployed version

--verbose mode shows which algorithm has been used in the output

usage: check_file_checksum.pl [ options ]

-f --file File to check
-c --checksum Checksum value to expect
-a --algo --algorithm Checksum algorithm (sha1 md5 crc adler32 sha256 sha512. Default: sha1)
-n --no-compare Do not expect a checksum or compare to it (otherwise raises unknown if an expected checksum is not given)
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-h --help Print description and usage options
-V --version Print version and exit