Nagios ruby script - code review

  • Thread starter Vincent Lagounet
  • Start date
V

Vincent Lagounet

Hi,

I've wrote my first ruby script. It's a nagios plugin who get a full
webpage.

Main features:
* Ruby small script, easy to understand and hack (I hope) ...
* http/https
* Use the powerful and simple hpricot lib to parse html
* Multi-thread
* Keyword check
* Follow redirections

I would like to have opinions and advices about this code and enhance it
if needeed.

http://code.google.com/p/nagios-check-webpage/source/browse/trunk/check_webpage.rb

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,174
Messages
2,570,940
Members
47,486
Latest member
websterztechnologies01

Latest Threads

Top