As far as observium documentation says, Papouch environmental sensors are supported. Therefore, (because I don't trust this obsolete leftover code from one of my predecessors) I've decided to get upstream version first, and then maybe apply some changes.
Sadly enough, I am not able to get this working. I've moved ancient code to some backup files, and refetched them from SVN, but I still can't see temperature graph on my papouch devices.
# svn status -u
? muj.patch
? html/images/login.png-orig
? html/includes/jpgraph
? html/includes/navbar-custom.inc.php-old
M 9675 includes/defaults.inc.php
? includes/definitions/os.inc.php-new
? includes/definitions/os.inc.php-pre20190118
? includes/definitions/os.inc.php-work
? includes/definitions/rrdtypes.inc.php-pre20190118
? includes/discovery/os/papouch.inc.php-pre20190118
A + - includes/discovery/sensors/papouch-smi.inc.php
? includes/discovery/sensors/papouch-smi.inc.php-pre20190118
Status against revision: 9675
# svn diff includes/discovery/sensors/papouch-smi.inc.php
#
Thank you Mike,
But so far it is still not working.
I did those changes, but even after few runs of ./discovery.php -h 63 and few days of waiting there are still no informations about temperature.
Although when I run snmpwalk, I can get it via MIB that seems to be included in observium:
# snmpwalk -v1 -c raH5I7tsa0pJ 192.168.1.60 1.3.6.1.4.1.18248
SNMPv2-SMI::enterprises.18248.16.1.1.0 = INTEGER: 194
SNMPv2-SMI::enterprises.18248.16.1.2.0 = STRING: "+19.4 C"
SNMPv2-SMI::enterprises.18248.16.1.3.0 = STRING: "Quido-CRA"
SNMPv2-SMI::enterprises.18248.16.1.4.0 = Hex-STRING: BC
SNMPv2-SMI::enterprises.18248.16.2.1.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.18248.16.2.1.1.1.2 = INTEGER: 1
......... shortened output .............
SNMPv2-SMI::enterprises.18248.16.4.1.1.5.3 = INTEGER: 0
End of MIB