contrib/snmp-probe-host.px: Work-around for Windows systems.
[collectd.git] / contrib / snmp-probe-host.px
index 9130ece..1cfaa07 100755 (executable)
@@ -99,6 +99,14 @@ sub probe_one
       {
         return;
       }
+      if (!defined ($status))
+      {
+        return;
+      }
+      if ("$status" eq 'NOSUCHOBJECT')
+      {
+        return;
+      }
     }
     else
     {