http://qs1969.pair.com?node_id=225861

vroom has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I'd like to write some custom Perl nagios plugins for monitoring some of the systems I'm responsible for. Basically most of them boil down to sending an LWP request to a webserver and making sure that the response that comes back is what is expected.
I've been directed to http://nagiosplug.sourceforge.net/developer-guidelines.html for some help but was wondering if anyone had any experience writing Nagios plugins. What are the basic things that are required for a Perl plugin to work correctly? Are there any gotchas I should look out for? Any insight or examples would be most helpful.

Thanks in advance,
--vroom