From: Thomas S H. <tha...@gm...> - 2011-07-30 17:47:36
|
This looks like great stuff Joseph! It will help my deployment a lot so that we will be able to gather stats directly from the mfsmaster and merge them back into our main stats database. I also think that this will greatly enhance Salt's moosefs support as well, thanks Joseph! -Thomas S Hatch On Fri, Jul 29, 2011 at 8:37 PM, Joseph Hall <per...@gm...> wrote: > Hey All, > > I hope I'm not stepping on any toes with this project. A few weeks ago > I was trying to set up monitoring for MooseFS, and I realized that the > closest thing to an API that seemed to be available was the web > interface. I didn't want to have to write a web scraper for it, so I > decided to take a peek inside and see if I could just do what it was > doing. > > Long story short, I ripped out the parts that query the Moose and > tossed them into a class. I'll be the first to admit that most of the > code is stolen^Wborrowed from the original mfs.cgi, but it's certainly > much easier to integrate into monitoring apps than the web interface. > I have a project set up at: > > https://github.com/techhat/python-moosefs > > Hopefully it'll come in handy for somebody else too. > > -- > Joseph > > > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users > |