mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Raspberry Pi: Add SNMP extend to monitor IO pins or sensor modules connected to the GPIO header (#12749)
* Raspberry Pi: Add SNMP extend to monitor IO pins or sensor modules connected to the GPIO header * Raspberry Pi: Add new test data * Raspberry Pi: Make styleci happy * Raspberry Pi: Fix some more style issues * Raspberry Pi: Use d_echo for array debug * Raspberry Pi: Prevent processing if the extension is not present * Raspberry Pi: Make styleci happy * Raspberry Pi: Update test data * Raspberry Pi: Remove debugging
This commit is contained in:
@@ -25,6 +25,10 @@ if ($device['os'] == 'openbsd') {
|
||||
include 'includes/discovery/sensors/openbsd.inc.php';
|
||||
}
|
||||
|
||||
if ($device['os'] == 'linux') {
|
||||
include 'includes/discovery/sensors/rpigpiomonitor.inc.php';
|
||||
}
|
||||
|
||||
if (strstr($device['hardware'], 'Dell')) {
|
||||
include 'includes/discovery/sensors/fanspeed/dell.inc.php';
|
||||
include 'includes/discovery/sensors/power/dell.inc.php';
|
||||
|
Reference in New Issue
Block a user