prod: telemetry: Add smartctl_exporter based on staging work #53

Merged
baptiste merged 2 commits from prod_smartctl_monitoring into main 2025-03-25 21:09:08 +00:00
Owner
No description provided.
baptiste added 2 commits 2025-03-24 16:54:33 +00:00
maximilien reviewed 2025-03-25 07:51:58 +00:00
@ -17,2 +17,4 @@
key_file: /etc/prometheus/consul-client.key
- job_name: 'smartctl-exporter'
scrape_interval: 60s
Owner

Do we really need something as low as 60s ? Would 300s do?

Do we really need something as low as 60s ? Would 300s do?
Author
Owner

This is the default interval from smartctl_exporter (I guess it caches data if requested more often than once every 60s)

But you're right, we don't necessarily have to poll that often.

This is the default interval from smartctl_exporter (I guess it caches data if requested more often than once every 60s) But you're right, we don't necessarily have to poll that often.
baptiste marked this conversation as resolved
@ -0,0 +62,4 @@
args = [
"--web.listen-address=0.0.0.0:9101"
]
network_mode = "host"
Owner

Do we need the host network?

Do we need the host network?
Author
Owner

No, I'll fix that.

No, I'll fix that.
baptiste marked this conversation as resolved
baptiste merged commit 451068d716 into main 2025-03-25 21:09:08 +00:00
baptiste deleted branch prod_smartctl_monitoring 2025-03-25 21:09:09 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/nixcfg#53
No description provided.