Perl Nagios::Plugin vs Monitoring::Plugin
Florian Lohoff
f at zz.de
Fri Sep 8 14:16:35 CEST 2017
Hi,
i am trying to have perl checks supported on hosts from Debian/Squeeze
up to Debian/Stretch. Squeeze->Jessie have Nagios::Plugin,
Wheezy->Stretch have Monitoring plugin.
So i was trying around in loading one or the other conditionally
eval {
require Nagios::Plugin;
1;
} or do {
require Monitoring::Plugin;
}
Now i fail to find a way to get all the exports e.g.
CRITICAL/WARNING/OK/UNKNOWN.
Is there a nice generic way to support either perl module?
Flo
--
Florian Lohoff f at zz.de
UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20170908/25cdb82b/attachment.sig>
More information about the Devel
mailing list