summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter
diff options
context:
space:
mode:
Diffstat (limited to 'roles/monitoring/prometheus/exporter')
-rw-r--r--roles/monitoring/prometheus/exporter/node/files/smartmon2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/monitoring/prometheus/exporter/node/files/smartmon b/roles/monitoring/prometheus/exporter/node/files/smartmon
index 1c39b492..fd03e45f 100644
--- a/roles/monitoring/prometheus/exporter/node/files/smartmon
+++ b/roles/monitoring/prometheus/exporter/node/files/smartmon
@@ -326,7 +326,7 @@ def collect_ata_error_count(device):
def collect_disks_smart_metrics(wakeup_disks):
- now = int(datetime.datetime.utcnow().timestamp())
+ now = int(datetime.datetime.now().timestamp())
for device in find_devices():
yield Metric('smartctl_run', device.base_labels, now)