mogadm from perl

dormando dormando at rydia.net
Fri Apr 4 18:54:43 UTC 2008


See the Mogilefs::Admin module which mogadm itself uses. 
MogileFS::Client obviously has a few things too.

You can also see the mogautodrain utility I just posted for a shorter 
example of MogileFS::Admin usage. It's trivial though.

-Dormando

Joel Daynes wrote:
> Hello-
>     I'm working on a monitoring script in Perl to check whether a 
> tracker is alive. Is there anything readily available in the Perl API 
> that I can call to check the status of a tracker (not a store host), or 
> should I just use a system call to mogadm and look for the status of the 
> tracker in question in the output? Any suggestions?
> 
> Thanks-
> Joel
> -- 
> Twelve Horses <http://web.twelvehorses.com/>
> 	Mobile <http://web.twelvehorses.com/info_center/whitepaper/>
> 	Social <http://web.twelvehorses.com/solutions/blogging_for_business/>
> 	Web <http://web.twelvehorses.com/solutions/website_design/>
> 	Email <http://web.twelvehorses.com/technology/>
> 
> *Joel Daynes*
> jdaynes at twelvehorses.com <mailto:jdaynes at twelvehorses.com>
> 	*Twelve Horses*
> 13961 Minuteman Dr.
> Suite 125
> Draper, UT 84020
> *www.twelvehorses.com* <http://www.twelvehorses.com>
> 
> 
> 



More information about the mogilefs mailing list