mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add Linux Softnet Stat app (#15094)
* add linux_softnet_stat poller * add graphs and app page for linux_softnet_stat * fix polling * rename a few items, clean up the app specific page, and add to the apps page * convert from derive to counter * save the budget and budget_usecs to app data * display current value of the budgets * now track budget values * add tests data * rename it * add docs for Linux Softnet Stat * re-order and add budget for app page graph order * style fix * correct data location * fix metrics for the json
This commit is contained in:
committed by
GitHub
parent
3190bdb8b2
commit
0ed68e33de
@@ -996,6 +996,33 @@ b.) "pkg_tool_cmd" - String path to the package tool binary ["/sbin/rpmconf"]
|
||||
|
||||
5. Restart snmpd.
|
||||
|
||||
## Linux Softnet Stat
|
||||
|
||||
### SNMP Extend
|
||||
|
||||
1: Install the depends, which on a Debian based system would be as below.
|
||||
```
|
||||
apt-get install -y cpanminus zlib1g-dev
|
||||
cpanm File::Slurp MIME::Base64 JSON Gzip::Faster
|
||||
```
|
||||
|
||||
2. 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
|
||||
```
|
||||
|
||||
3. Make the script executable
|
||||
```
|
||||
chmod +x /etc/snmp/linux_softnet_stat
|
||||
```
|
||||
|
||||
4. 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.
|
||||
|
||||
## mailcow-dockerized postfix
|
||||
|
||||
### SNMP Extend
|
||||
|
Reference in New Issue
Block a user