Page MenuHomeDevCentral

Deploy Prometheus Node Exporter
ClosedPublic

Authored by dereckson on Jul 23 2024, 18:30.
Tags
None
Referenced Files
F3908966: D3369.diff
Wed, Dec 18, 17:41
Unknown Object (File)
Mon, Dec 16, 23:51
Unknown Object (File)
Sun, Dec 15, 11:14
Unknown Object (File)
Mon, Dec 9, 17:38
Unknown Object (File)
Mon, Nov 25, 05:43
Unknown Object (File)
Fri, Nov 22, 16:35
Unknown Object (File)
Nov 9 2024, 16:40
Unknown Object (File)
Oct 30 2024, 16:39
Subscribers
None

Details

Summary

Prometheus Node Exporter exposes metrics from kernel and hardware information.

It can also exposes metrics about filesystem or ZFS.

Ref T1623

Test Plan

Deploy on every node

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
prometheus-node-exporter
Build Status
Buildable 5361
Build 5642: arc lint + arc unit

Event Timeline

dereckson created this revision.

Successfully deployed on FreeBSD servers:

Complector
$ salt -G "os:freebsd" cmd.run "sockstat | grep 9100"

windriver:
    nobody   node_expor 71416 3   tcp4   172.27.27.35:9100     *:*
db-B-001:
    nobody   node_expor 46281 3   tcp4   172.27.27.9:9100      *:*
hervil:
    nobody   node_expor 99710 3   tcp4   172.27.27.3:9100      *:*
complector:
    nobody   node_expor 65987 3   tcp4   172.27.27.7:9100      *:*
router-001:
    nobody   node_expor 12557 3  tcp4   172.27.27.1:9100      *:*
db-A-001:
    nobody   node_expor 51204 3   tcp4   172.27.27.8:9100      *:*
web-001:
    nobody   node_expor 93026 3   tcp4   172.27.27.10:9100     *:*
    www      nginx      83276 107 udp4   127.0.0.1:59100       127.0.0.1:53

Service name is different on EPEL package

Configure systemd service to restrict to private IP too

docker-002
$ grep 9100/tcp /etc/services
jetdirect       9100/tcp        laserjet hplj hp-pdl-datastr pdl-datastream

$ ss -l | grep jetdirect
tcp   LISTEN 0      4096                                                                                    *:jetdirect                      *:*          

$ systemctl restart prometheus-node-exporter.service 

$ ss -l | grep jetdirect
tcp   LISTEN 0      4096                                                                          172.27.27.5:jetdirect                0.0.0.0:*     

Avoid duplicate jinja context for service config

This revision is now accepted and ready to land.Jul 23 2024, 20:09
This revision was automatically updated to reflect the committed changes.