mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add support for Prometheus pushgateway basic auth (#16230)
Co-authored-by: Joe Clarke <[email protected]>
This commit is contained in:
@@ -35,6 +35,14 @@ continue to function as normal.
|
||||
lnms config:set prometheus.prefix 'librenms'
|
||||
```
|
||||
|
||||
If your pushgateway uses basic authentication, configure the following:
|
||||
|
||||
!!! setting "poller/prometheus"
|
||||
```bash
|
||||
lnms config:set prometheus.user username
|
||||
lnms config:set prometheus.password password
|
||||
```
|
||||
|
||||
## Prefix
|
||||
|
||||
Setting the 'prefix' option will cause all metric names to begin with
|
||||
|
||||
Reference in New Issue
Block a user