This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
monitoring:grafana [2024/10/20 22:01] manu |
monitoring:grafana [2025/01/03 11:07] (current) manu [Node exporter] |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| For AIX: | For AIX: | ||
| https://github.com/thorhs/node_exporter_aix/releases | https://github.com/thorhs/node_exporter_aix/releases | ||
| + | |||
| + | Other ways to export metrics: | ||
| + | |||
| + | If you want to integrate your AIX into Prometheus monitoring, the best way imho is to use Nigel's njmon and telegraf agent to produce "Prometheus-compatible" output. It will deliver much more output as you can expect from the Node Exporter. | ||
| + | |||
| + | This is the link to Nigel's description - https://www.ibm.com/support/pages/nimon-working-prometheus | ||
| + | |||
| + | Telegraf for AIX can be found here - https://www.power-devops.com/telegraf | ||
| + | https://nmon.sourceforge.io/pmwiki.php?n=Site.Njmon | ||
| + | | ||
| + | For Linux: | ||
| + | https://sourceforge.net/projects/node-exporter.mirror/files/ | ||
| + | | ||
| + | Example of installation on Linux: | ||
| + | |||
| + | <code> | ||
| + | # Download and unpack | ||
| + | curl -LO https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz | ||
| + | tar -xvf node_exporter-0.18.1.linux-amd64.tar.gz | ||
| + | sudo mv node_exporter-0.18.1.linux-amd64/node_exporter /usr/local/bin | ||
| + | |||
| + | # Add user | ||
| + | sudo useradd -rs /bin/false node_exporter | ||
| + | |||
| + | # Configure service | ||
| + | sudo vi /etc/systemd/system/node_exporter.service | ||
| + | |||
| + | ### Configuration | ||
| + | [Unit] | ||
| + | Description=Node Exporter | ||
| + | After=network.target | ||
| + | |||
| + | [Service] | ||
| + | User=node_exporter | ||
| + | Group=node_exporter | ||
| + | Type=simple | ||
| + | ExecStart=/usr/local/bin/node_exporter | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| + | |||
| + | # Start exporter | ||
| + | sudo systemctl daemon-reload | ||
| + | sudo systemctl start node_exporter | ||
| + | </code> | ||