alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.52k stars 214 forks source link

🐛 [Scrutiny (Full Access)] Hourly not working #1606

Open NightShaman opened 1 week ago

NightShaman commented 1 week ago

Description

You can see by the timestamp in the logs below the collector is only running daily and not hourly. I think I had a restart here, but looks to be midnight every day. Maybe make it so you can use cron time to pass to the collector?

image

Reproduction steps

Have just the collector configured, and Updates set to hourly but is only doing it daily.

Addon Logs

___   ___  ____  __  __  ____  ____  _  _  _  _
/ __) / __)(  _ \(  )(  )(_  _)(_  _)( \( )( \/ )
\__ \( (__  )   / )(__)(   )(   _)(_  )  (  \  /
(___/ \___)(_)\_)(______) (__) (____)(_)\_) (__)
AnalogJ/scrutiny/metrics                                dev-0.8.1

time="2024-10-12T23:06:02-05:00" level=info msg="Verifying required tools" type=metrics
time="2024-10-12T23:06:02-05:00" level=info msg="Executing command: smartctl --scan --json" type=metrics
time="2024-10-12T23:06:02-05:00" level=info msg="Executing command: smartctl --info --json /dev/sda" type=metrics
time="2024-10-12T23:06:02-05:00" level=info msg="Generating WWN" type=metrics
time="2024-10-12T23:06:02-05:00" level=info msg="Sending detected devices to API, for filtering & validation" type=metrics
time="2024-10-12T23:06:02-05:00" level=info msg="Collecting smartctl results for sda\n" type=metrics
time="2024-10-12T23:06:02-05:00" level=info msg="Executing command: smartctl --xall --json --device sat /dev/sda" type=metrics
time="2024-10-12T23:06:02-05:00" level=info msg="Publishing smartctl results for 0x55cd2e404c137d21\n" type=metrics
s6-rc: info: service legacy-services successfully started
time="2024-10-12T23:06:03-05:00" level=info msg="Main: Completed" type=metrics
2024/10/13 00:00:01 Loading configuration file: /opt/scrutiny/config/collector.yaml

 ___   ___  ____  __  __  ____  ____  _  _  _  _
/ __) / __)(  _ \(  )(  )(_  _)(_  _)( \( )( \/ )
\__ \( (__  )   / )(__)(   )(   _)(_  )  (  \  /
(___/ \___)(_)\_)(______) (__) (____)(_)\_) (__)
AnalogJ/scrutiny/metrics                                dev-0.8.1

time="2024-10-13T00:00:01-05:00" level=info msg="Verifying required tools" type=metrics
time="2024-10-13T00:00:01-05:00" level=info msg="Executing command: smartctl --scan --json" type=metrics
time="2024-10-13T00:00:01-05:00" level=info msg="Executing command: smartctl --info --json /dev/sda" type=metrics
time="2024-10-13T00:00:01-05:00" level=info msg="Generating WWN" type=metrics
time="2024-10-13T00:00:01-05:00" level=info msg="Sending detected devices to API, for filtering & validation" type=metrics
time="2024-10-13T00:00:01-05:00" level=info msg="Collecting smartctl results for sda\n" type=metrics
time="2024-10-13T00:00:01-05:00" level=info msg="Executing command: smartctl --xall --json --device sat /dev/sda" type=metrics
time="2024-10-13T00:00:01-05:00" level=info msg="Publishing smartctl results for 0x55cd2e404c137d21\n" type=metrics
time="2024-10-13T00:00:02-05:00" level=info msg="Main: Completed" type=metrics

Architecture

amd64

OS

HAos

github-actions[bot] commented 3 days ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.