Home Directory Plugins Others check_file_md5.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_md5.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
5323
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!
Checks a file's md5 checksum against an expected value
Part of the Advanced Nagios Plugins Collection

Download it here:

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

check_file_md5.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_md5.pl [ options ]

-f --file File to check
-c --checksum Checksum value to expect
-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