Page MenuHomeDevCentral

Deploy Prometheus Node Exporter
ClosedPublic

Authored by dereckson on Jul 23 2024, 18:30.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 30, 16:39
Unknown Object (File)
Fri, Oct 25, 06:00
Unknown Object (File)
Fri, Oct 25, 05:27
Unknown Object (File)
Wed, Oct 23, 14:15
Unknown Object (File)
Wed, Oct 23, 11:43
Unknown Object (File)
Wed, Oct 23, 10:56
Unknown Object (File)
Wed, Oct 23, 09:59
Unknown Object (File)
Wed, Oct 23, 09:49
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 5358
Build 5639: 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.