Poudriere support (#16229)

* add the poller

* save text status stuff

* add initial app page stuff

* add history table and start work on graphs

* checkpoint

* re-work the poudriere graph bits a bit more

* fix the poller and start work on the graphs

* polling fix

* more work on the poudriere stuff

* poke stuff with php-cs-fix

* add some more graphs

* more style fixes

* another style fix

* add more graphs

* add Poudriere docs

* add tests data

* some minor tests fixes

* a test tweak

* more test tweaks

* some more test tweaks

* tweak .data.build_info data .data.build_info to make the app data test saner

* derp... missed a item

* add app data
This commit is contained in:
Zane C. Bowers-Hadley
2024-08-21 01:27:26 -05:00
committed by GitHub
parent 7aeb540e5a
commit 7b98721e32
31 changed files with 1899 additions and 0 deletions

View File

@@ -2106,6 +2106,36 @@ 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.
## Poudriere
### SNMP Extend
1. Copy the extend into place
```
wget https://github.com/librenms/librenms-agent/raw/master/snmp/poudriere -O /usr/local/etc/snmp/poudriere
```
2. Make it executable.
```
chmod +x /usr/local/etc/snmp/poudriere
```
3. Install the depends
```
pkg install p5-Data-Dumper p5-JSON p5-MIME-Base64 p5-File-Slurp
```
4. Setup the cronjob. The extend needs to be ran as root. See
`poudriere --help` for option info.
```
4/5 * * * * root /usr/local/etc/snmp/poudriere -q -a -w -z
```
5. Add the extend to snmpd.conf and restart snmpd
```
extend poudriere cat /var/cache/poudriere.json.snmp
```
## PowerDNS
An authoritative DNS server: <https://www.powerdns.com/auth.html>