add the Mojo CAPE Submit app (#15140)

* add poller for mojo cape submit

* mojo_cape_submit poller now works

* add app page for mojo_cape_submit

* add basic generic stat graphs for mojo cape submit

* general size stats graph for mojo_cape_submit

* make sure we update slugs that did not see anything submitted for them

* sort the slugs by sub count

* add app protos graph and sub top 12 graphs

* add mojo cape submit docs

* add tests for mojo_cape_submit

* add mojo_cape_submit to the apps page

* add string helper for mojo_cape_submit

* poke lots of stuff with php-cs-fixer

* remove a unneeded line

* add a missing metric and app data to test
This commit is contained in:
Zane C. Bowers-Hadley
2023-07-19 22:41:51 -05:00
committed by GitHub
parent 510d5dc94b
commit 54a38dd4cd
20 changed files with 629 additions and 0 deletions

View File

@@ -1226,6 +1226,20 @@ 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.
## Mojo CAPE Submit
### SNMP
This assumes you've already configured mojo_cape_submit from CAPE::Utils.
1. Add the following to `snmpd.conf` and restarted SNMPD
```
extend mojo_cape_submit /usr/local/bin/mojo_cape_submit_extend
```
Then just wait for the machine in question to be rediscovered or
enabled it in the device settings app page.
## Munin
### Agent