Bug/typo: Whitespace in librenms/includes/discovery/sensors/temperature/ceraos.inc.php


#1

librenms/includes/discovery/sensors/temperature/ceraos.inc.php

There is a whitespace in the OID variable that causes temp to come back as “0”.

$oid = ’ .1.3.6.1.4.1.2281.10.1.1.9.0’;

I removed it locally and rediscovered device, worked ok.


#2

I’ve created a pull request to fix this, you could have done the same for such a simple fix :slight_smile:


#3

Thanx. If i knew how, i would :stuck_out_tongue: