Merge pull request #153 from byteborg/doc-improvements

Doc-improvements
This commit is contained in:
Ricardo F 2023-12-10 23:12:17 +01:00 committed by GitHub
commit 9d3e801ef4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,97 +1,88 @@
# Grafana Dashboards
Grafana dashboards
## Node Exporter Full
### Node Exporter Full
- For node_exporter
- Monitor Linux system.
For node_exporter
Only requires the default job_name: node, add as many targets as you need in `/etc/prometheus/prometheus.yml`.
Monitor Linux system.
Only requires the default job_name: node, add as many targets as you need in '/etc/prometheus/prometheus.yml'.
```
```yaml
- job_name: node
static_configs:
- targets: ['localhost:9100']
```
Recommended for prometheus-node-exporter the arguments '--collector.systemd --collector.processes' because the graph uses some of their metrics.
Recommended for prometheus-node-exporter the arguments `--collector.systemd` and `--collector.processes` because the graph uses some of their metrics.
Notes:
For prometheus-node-expter v.0.16 or older, use node-exporter-full-old.json
Thanks to the PCP project for document the values reported by the kernel in /proc (in their /pmdas/linux/help src file mainly). Url --> http://pcp.io
> - `timeInterval` in the Grafana data source has to be set accordingly to the > `scrape_interval` configured in Prometheus
> - For prometheus-node-exporter v.0.16 or older, use `node-exporter-full-old.> json`
> - Thanks to the [PCP project](http://pcp.io) for document the values reported > by the kernel in `/proc` (in their `/pmdas/linux/help` src file mainly).
### Node Exporter FreeBSD
## Node Exporter FreeBSD
For node_exporter in FreeBSD system
- For node_exporter in FreeBSD system
- Monitor FreeBSD system.
Monitor FreeBSD system.
Only requires a configured target under any job_name.
Only requires a configured target under any `job_name`.
### Haproxy Full _deprecated_
## Haproxy Full _(deprecated)_
For haproxy_exporter
- For haproxy_exporter
- Monitor Haproxy service.
Monitor Haproxy service.
Only requires a configured target under any job_name.
Only requires a configured target under any `job_name`.
### Haproxy 2 Full
## Haproxy 2 Full
For Haproxy compiled with Prometheus support
- For Haproxy compiled with Prometheus support
- Monitor Haproxy service direct.
Monitor Haproxy service direct.
Only requires a configured target under any job_name.
Only requires a configured target under any `job_name`.
### Apache Full
## Apache Full
Monitor Apache service.
- Monitor Apache service.
Moved to https://github.com/grafana/jsonnet-libs
> Moved to https://github.com/grafana/jsonnet-libs
### NFS Full
## NFS Full
For node_exporter
- For node_exporter
- Monitor all NFS and NFSd exported values.
Monitor all NFS and NFSd exported values.
Check that the process was started with the arguments `--collector.nfs` and `--collector.nfsd`.
Check that the process was started with the arguments "--collector.nfs" and "--collector.nfsd".
The same as Node Exporter Full. Only requires the default job_name: node, add as many targets as you need in '/etc/prometheus/prometheus.yml'.
The same as Node Exporter Full. Only requires the default `job_name: node`, add as many targets as you need in `/etc/prometheus/prometheus.yml`.
### Bind9 Full
## BIND 9 Full
For prometheus-bind-exporter https://github.com/prometheus-community/bind_exporter
- For [prometheus-bind-exporter](https://github.com/prometheus-community/bind_exporter)
- Monitor BIND 9 service.
Monitor Bind9 service. Required configuration in /etc/bind/named.conf.options:
Required configuration in `/etc/bind/named.conf.options`:
```
```c++
statistics-channels {
inet 127.0.0.1 port 8053 allow { 127.0.0.1; };
};
```
On Grafana, it only requires a configured target under any job_name. For example:
On Grafana, it only requires a configured target under any `job_name`. For example:
```
```yaml
- job_name: 'bind'
static_configs:
- targets: