Raspberry PI - Temperature, Voltage , Freq

Just to recap, I only see graphs for codecs, no voltage graphs are displaing. Here is the discovery output requested: https://pastebin.com/L5qzmm3D

Thanks again!

:smiley: I tried reverting back to the commit mentioned in some previous post. LibreNMS looked different back then. All sensors were removed from the device on discovery, so I reverted back. Now I have two CPU temp for one of the pi’s :upside_down_face:

Any ideas? I’ve messed up the sensors on one of the pi’s, it now has two temperature sensors, both with the same data… Re-discovery doesn’t seem to resolve it.

@mirino75 @mwen Is your libreNMS install still showing correct values/sensors?

I’ve tried reverting back, but I think the build is too old, maybe you guys can point us in the right direction?

So, a new patch is live, and after changing raspberry.sh like mentioned in the patch, I see new sensors.
However, on both installs, it’s reporting back 0 as value.
image

Same boat here, updated the script and I get all zeros. Here is the output of my snmp walk, is the output of the snmpwalk correct, should it be one long quoted string like this? I noticed in the past each sensor got its own OID string (like a tree), sorry I am not an expert in snmp verbage. Any how hope it helps, Thanks again for all the help on this!

$ snmpwalk -v2c -c public picam iso.3.6.1.4.1.8072.1.3.2.3.1.2.9.114.97.115.112.98.101.114.114.121
iso.3.6.1.4.1.8072.1.3.2.3.1.2.9.114.97.115.112.98.101.114.114.121 = STRING: “48.7
1.2000
1.2000
1.2000
1.2250
700000000
250000000
enabled
disabled
disabled
enabled
enabled
WMV9=disabled
H264=2
MPG2=disabled
WVC1=disabled
MPG4=2
MJPG=2
WMV9=disabled
WMV9=disabled
H264=enabled
MPG2=1
WVC1=1
MPG4=enabled
MJPG=enabled
WMV9=1”

We need:

./discovery.php -h HOSTNAME -d -m sensors
./poller.php -h HOSTNAME -d -m sensors -r -f

Here you go:

discovery: https://pastebin.com/A4EN9NLC
poller: https://pastebin.com/r2BsJygd

Please try this patch: https://gist.github.com/laf/b6d2c4ecbb86e6737d77127f562d678d

No love, here is a new round of output:

discovery: https://pastebin.com/GT8FLmct
poller: https://pastebin.com/LULk0mn7

Try reverting the agent script to the previous version

I reverted the patch and changed the snmp extend script, still no luck. Also just so you know, though all of this I have always got the temperature reading in my graphs.

Here is the latest output:
discovery: https://pastebin.com/jbJWvtaH
poller: https://pastebin.com/qH0TYyXk

Yep, same here … temperature is working, but the rest are broken now. FYI, this used to work on my machine.

Thanks!

No just the snmp extend script that needs reverting to the one I linked to. You should be running latest master for LibreNMS core.

Yep, running the latest LibreNMS core (updated this morning, just to make sure). And the extend script … you mean raspberry.sh, that is called from snmpd on the client (RPi), right? That’s what I updated.

Sorry about that, I just re-applied the patch, and reverted to the older snmp extend script. No luck

Discovery: https://pastebin.com/2GZx6KeX
Poller: https://pastebin.com/uRYRhaNW

If someone wants to provide:

./discovery.php -h HOSTNAME -d | ./pbin.sh
./poller.php -h HOSTNAME -r -f -d | ./pbin.sh
snmpbulkwalk -OUneb -v2c -c COMMUNITY HOSTNAME .  | ./pbin.sh

Then we can take more of a look.

Here ya go, this is inclusive of the changes requested above (patch and reverted snmpd script).

librenms@velocity:~$ ./discovery.php -h picam.qantum.lan -d | ./pbin.sh
Paste endpoint: https://p.libren.ms/api/create
title:
name: chris
private: 1
expire: 0
https://p.libren.ms/view/6f25317b

librenms@velocity:~$ ./poller.php -h picam.quantum.lan -r -f -d | ./pbin.sh
Paste endpoint: https://p.libren.ms/api/create
title:
name: chris
private: 1
expire: 0
https://p.libren.ms/view/889baa11

librenms@velocity:~$ snmpbulkwalk -OUneb -v2c -c public picam.quantum.lan . | ./pbin.sh
Paste endpoint: https://p.libren.ms/api/create
title:
name: chris
private: 1
expire: 0
https://p.libren.ms/view/6e553444

Component Version
LibreNMS 1.30-36-g4e56ee17b
DB Schema 199
PHP 7.1.6-2ubuntu1
MySQL 10.1.24-MariaDB-5
RRDTool 1.6.0
SNMP NET-SNMP 5.7.3

./discovery.php -h HOSTNAME -d | ./pbin.sh
https://p.libren.ms/view/10ee04f7

./poller.php -h HOSTNAME -r -f -d | ./pbin.sh
https://p.libren.ms/view/f9f9b269

snmpbulkwalk -OUneb -v2c -c COMMUNITY HOSTNAME . | ./pbin.sh
https://p.libren.ms/view/1499d62a

Reverted raspberry.sh to the one you linked and am running the latest master without any patches.

@cweakland you made a typo in the first command :wink:

The host is not found :wink:

Fixed in: https://github.com/librenms/librenms/pull/7131

Will merge once checks are done.