mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
make sure capacity oid actually ends up in database for already existing toner
git-svn-id: http://www.observium.org/svn/observer/trunk@3140 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -36,7 +36,7 @@ if ($config['enable_printers'])
|
||||
$current = $current / $capacity * 100;
|
||||
$type = "jetdirect";
|
||||
if (isHexString($descr)) { $descr = snmp_hexstring($descr); }
|
||||
discover_toner($valid_toner,$device, $toner_oid, $capacity_oid, $index, $type, $descr, $capacity, $current);
|
||||
discover_toner($valid_toner,$device, $toner_oid, $index, $type, $descr, $capacity_oid, $capacity, $current);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user