matteocorti / nagios_plugins

18 stars 7 forks source link

check_updates does not work on PUIAS Linux #103

Closed matteocorti closed 8 years ago

matteocorti commented 8 years ago

Original reporter: arnaud@glou.org

PUIAS is a RHEL clone that has been around for some time but is not supported by check_updates. Here is the patch:

--- check_updates.orig  2012-09-02 13:02:53.537662474 +0200
+++ check_updates       2012-09-02 13:03:10.568781996 +0200
@@ -675,6 +675,7 @@

     if (   $name =~ /Fedora/mxs
         || $name =~ /CentOS/mxs
+        || $name =~ /PUIAS/mxs
         || $name =~ /Scientific[ ]Linux/mxs
         || $name =~ /Red[ ]Hat.*[ ][56]/mxs
         || $name =~ /Amazon/mxs )
matteocorti commented 8 years ago

Original reporter: matteo@corti.li

Fixed in 1.6.1