New perl module: Nagios::Plugin::WWW::Mechanize
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!
It's greate for simple web pages, But when you need to acces an button and the site use java it's impossible ...