From: Brian A. Seklecki <lavalamp@sp...> - 2008-02-28 19:46:03
On Sat, 2008-01-12 at 23:17 -0600, Gabriel Millerd wrote:
> On Jan 12, 2008 10:27 PM, Brian A. Seklecki (Mobile)
> <bseklecki@...> >
> > Does anyone have a MW addon or Nagios Check (maybe utilizes the SOAP XML
Gabriel et al.:
> > API) that queries the application-level health of MediaWiki.
I've finally found time to write a small nagios plugin. Here's an
example screen shot. It just consumes api.php using SimpleXML's PHP5
I'll clean it up and post it to nagiosexchange.org just as soon as I
have a moment to clean up the code. I may need some advice on getting
SimpleXML's simplexml_load_file() in combination with PHP's URI black
magic to work with Mediawiki api.php authentication cookies.
The underlying library may or may not support cookies
> I would hit Special:Statistics, perhaps grabbing the "The job queue
> length is (\d+)." for giggles or similar.
Brian A. Seklecki <bseklecki@...>
Collaborative Fusion, Inc.
Get latest updates about Open Source Projects, Conferences and News.