New perl module: Nagios::Plugin::WWW::Mechanize

Posted by tonvoon on 29 May 2009 - 8:23am in

A new perl module has been unleashed: Nagios::Plugin::WWW::Mechanize.

This will allow you to write a Nagios plugin to monitor your web site in about 20 lines of code. You can login to your site (POSTing your username and password, depending on how the site handles the credentials), navigate through web pages and check for content. The module even handles returning performance data based on the time taken to make all the web calls.

This module is based on the fantastic Nagios::Plugin module, written by the Nagios Plugins development team, and the amazing WWW::Mechanize, written by Andy Lester.

Find Nagios::Plugin::WWW::Mechanize on CPAN.

As a special bonus, I am doing a workshop at the Nordic Meet next week where I'll demonstrate how this module works and I'll help you create your own plugin. See you there!

Comment viewing options
Select your preferred way to display the comments and click "Save settings" to activate your changes.
It's greate for simple web

It's greate for simple web pages, But when you need to acces an button and the site use java it's impossible ...

Posted by nicola bogdan on 3 February 2010 - 4:09pm