]> git.michaelhowe.org Git - packages/m/munin-plugins-local.git/commitdiff
Fix missing total device entry
authorMichael Howe <michael@michaelhowe.org>
Sat, 14 Sep 2013 20:46:22 +0000 (20:46 +0000)
committerMichael Howe <michael@michaelhowe.org>
Sat, 14 Sep 2013 20:46:22 +0000 (20:46 +0000)
debian/changelog
plugins/snmp__sky_router_

index efbb4b2f76e8284022e963ab9d3cb578de91141d..4de0801bb4133813a0f9876999347713a62cae57 100644 (file)
@@ -1,3 +1,9 @@
+munin-plugins-local (0.9) unstable; urgency=low
+
+  * Fix snmp__sky_router_ not showing the total number of devices 
+
+ -- Michael Howe <michael@michaelhowe.org>  Sat, 14 Sep 2013 21:42:37 +0100
+
 munin-plugins-local (0.8) unstable; urgency=low
 
   * Add snmp__sky_router_ for network clients and bandwidth usage 
index 16c7d2ce5cc99a77545a8b06c7cb98d53cf478d6..a78a6bce2b05ce806697c7f0a0da12cd4bf69237 100755 (executable)
@@ -189,6 +189,8 @@ EOC
         }
         $mactypes{unknown}->{count} = ( $#activemacs - $#allocatedmacs );
 
+        print "devices.value " . scalar @activemacs . "\n";
+
         foreach my $type ( keys( %mactypes ) ){
             print "devices_${type}.value " . $mactypes{$type}->{count} . "\n";
         }