Hi,
The metric you’re looking for is ‘supply_value’
check_entity('printersupply', $supply, array('supply_value' => $supplyperc));
adam.
From: observium <observium-bounces@observium.org> On Behalf Of Walter Onda via observium
Sent: 19 October 2018 20:07
To: observium@observium.org
Cc: Walter Onda <walter@onda.ch>
Subject: [Observium] Alert Checker for Printer Toner
Hello
I spent a long time to make a toner alert when it arrive lower than 2 %, it doesn't matter which color.
Is this condition correct?
Because some of this printer has just 1% but it shown as "ok".
Has maybe somebody an suggestion?
Regards and have a nice weekend
Walter