[Resend from nagios-users@lists.sf.net -- I wanted to get opinions from the other side of the isle]
---
All:
Does anyone have a MW addon or Nagios Check (maybe utilizes the SOAP XML API) that queries the application-level health of MediaWiki.
Something above & beyond simple check_http. Validate the backend database functionality etc..
A simple wiki-side addon could use HTTP return codes and relay performance data (count the articles, users, etc.)
Thoughts? Discussion?
~BAS
On Jan 12, 2008 10:27 PM, Brian A. Seklecki (Mobile) bseklecki@collaborativefusion.com >
Does anyone have a MW addon or Nagios Check (maybe utilizes the SOAP XML API) that queries the application-level health of MediaWiki.
I would hit Special:Statistics, perhaps grabbing the "The job queue length is (\d+)." for giggles or similar.
On Sat, 2008-01-12 at 23:17 -0600, Gabriel Millerd wrote:
On Jan 12, 2008 10:27 PM, Brian A. Seklecki (Mobile) bseklecki@collaborativefusion.com >
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 bindings.
http://people.collaborativefusion.com/~seklecki/images/cf_mediaWiki_NagHC_ex...
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 (curl/wget/openssl).
~BAS
I would hit Special:Statistics, perhaps grabbing the "The job queue length is (\d+)." for giggles or similar.
On 28/02/2008, Brian A. Seklecki bseklecki@collaborativefusion.com wrote:
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 bindings. http://people.collaborativefusion.com/~seklecki/images/cf_mediaWiki_NagHC_ex... 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 (curl/wget/openssl).
Don't forget to please put a link to this work on mediawiki.org, on a page called "Nagios" or "Monitoring" or similar!
- d.
On 29/02/2008, David Gerard dgerard@gmail.com wrote:
On 28/02/2008, Brian A. Seklecki bseklecki@collaborativefusion.com wrote:
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 bindings.
Don't forget to please put a link to this work on mediawiki.org, on a page called "Nagios" or "Monitoring" or similar!
Oh, for those wanting to do it the other way:
http://www.mediawiki.org/wiki/Extension:NagiosStatus
- d.
mediawiki-l@lists.wikimedia.org