MogileFS perl injection/extraction test

Jason L. Faulkner jfaulkne at icontact.com
Wed May 7 20:56:51 CEST 2008


One of my collegues wrote a MogileFS injection/extraction check, so we put it on NagiosExchange and I thought I'd announce it here. 

http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2599.html;d=1 

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). 

-- 
Jason Faulkner 
Lead Systems Engineer 
iContact Corporation 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080507/74e04a37/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list