mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
CAPEv2 support (#14801)
* re-add it * add cape app page * add initial cape graphs * now work for the general page * more udpates * add cape pending * add pending and cleanup for if there are no packages(likely cuckoo, so don't add extra items) * rework the lack of packages a bit more * more cuckoo related cleanupgiot * fix cape error logging * minor cleanups * add a new graph and use it with cape... also lots of cape cleanups * misc cape updates * add percentile values for stats * add fix for weekly * don't display 1 day average if under 17 hours * zero timeslots of packages not used for this time slot * add avg stat graphs for cape * now use the average graphs and update the app page * add a new graph * add CAPEv2 docs * add tests data * lots of style cleanup * another tweak for the test data * fix misc style issues * add cape to apps page * add nicecase for cape * case fix * json fix for test data * add a missing stat * some more test data tweaking * more misc test updates * more test tweaking * more test work... * more test data work * add what is hopefully the final test tweak
This commit is contained in:
committed by
GitHub
parent
c2b0a6ed80
commit
98c033e84f
@@ -432,6 +432,34 @@ extend certificate /etc/snmp/certificate.py
|
||||
|
||||
The application should be auto-discovered as described at the top of the page. If it is not, please follow the steps set out under `SNMP Extend` heading top of page.
|
||||
|
||||
## CAPEv2
|
||||
|
||||
1. Copy the shell script to the desired host.
|
||||
```
|
||||
wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/cape -O /etc/snmp/cape
|
||||
```
|
||||
|
||||
2. Make the script executable
|
||||
```
|
||||
chmod +x /etc/snmp/cape
|
||||
```
|
||||
|
||||
3. Edit your snmpd.conf file (usually /etc/snmp/snmpd.conf) and add:
|
||||
```
|
||||
extend cape /etc/snmp/cape
|
||||
```
|
||||
|
||||
4. Install the required packages.
|
||||
```
|
||||
apt-get install libfile-readbackwards-perl libjson-perl libconfig-tiny-perl libdbi-perl libfile-slurp-perl libstatistics-lite-perl
|
||||
```
|
||||
|
||||
5. Restart snmpd on your host
|
||||
|
||||
The application should be auto-discovered as described at the top of
|
||||
the page. If it is not, please follow the steps set out under `SNMP
|
||||
Extend` heading top of page.
|
||||
|
||||
## C.H.I.P
|
||||
|
||||
C.H.I.P. is a $9 R8 based tiny computer ideal for small projects.
|
||||
|
Reference in New Issue
Block a user