librenms / librenms-agent

LibreNMS Agent & Scripts
GNU General Public License v2.0
118 stars 188 forks source link

Raspberry Pi: Add SNMP extend to monitor IO pins or sensor modules connected to the GPIO header #364

Closed nightcore500 closed 3 years ago

nightcore500 commented 3 years ago

This patch adds a SNMP extend script to monitor IO pins or sensor modules connected to the GPIO header. The respective sensors can be configured individually with a configuration file. The reading of IO contacts is possible by default if wiringpi is installed on the respective device. For sensor modules an additional program or a script is necessary which can be specified in the configuration. This allows to monitor practically everything connected to the GPIO header. The configuration can also be checked using "rpigpiomonitor.php -validate".