monitoring-plugins / monitoring-plugin-perl

Perl module Monitoring::Plugin - Nagios::Plugin
http://search.cpan.org/dist/Monitoring-Plugin/
42 stars 20 forks source link

Fix plugin-name processing in ALRM handler. #12

Closed pdugas closed 8 years ago

pdugas commented 8 years ago

The regex is using the wrong case so it never matches. I've also adjusted it to allow either a hypen (-) or underscore (_).

pdugas commented 8 years ago

Using shortname instead may be more correct.

sni commented 8 years ago

thanks, merged