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

check_mogile

Rating
0 votes
Favoured:
0
Hits
89593
Files:
FileDescription
check_mogile.plcheck_mogile.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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).