Linux Softnet Stat
Install prereqs
=== "Debian/Ubuntu"
```bash
apt-get install libfile-slurp-perl libjson-perl libmime-base64-perl
```
=== "FreeBSD"
```bash
pkg install p5-File-Slurp p5-JSON p5-MIME-Base64
```
=== "Generic"
```bash
cpanm File::Slurp JSON MIME::Base64
```
SNMP Extend
-
Download the script into the desired host.
wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/linux_softnet_stat -O /etc/snmp/linux_softnet_stat
-
Make the script executable
chmod +x /etc/snmp/linux_softnet_stat
-
Edit your snmpd.conf file (usually
/etc/snmp/snmpd.conf
) and add:extend linux_softnet_stat /etc/snmp/linux_softnet_stat -b
Then either enable the application Linux Softnet Stat or wait for it to be re-discovered.