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_mogile

Rating
0 votes
Favoured:
0
Hits
93585
Files:
FileDescription
check_mogile.plcheck_mogile.pl
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!
Perl script that runs an injection/extraction test on a MogileFS instance.
The check uses the MogileFS::Client perl modules to do a simple inject/extract test on a MogileFS instance. The check will then compare the sizes of the two files and if they match it's a success.

As an initial test it will also query the MogileFS MySQL database to determine whether or not to continue. I did this because there were instances when a database can go down and the script would return inconsistent results (either an exit code of '82' when trying to contact MogileFS backend or endlessly looping and causing an NRPE timeout).