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                                                 [email protected]
             UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away

Attachment: signature.asc
Description: Digital signature

Reply via email to