Last active
October 26, 2024 20:38
-
-
Save stoneobscurity/71401199179b2b63f6d56981b1e493eb to your computer and use it in GitHub Desktop.
scrutiny smart metrics on XCP-NG 8.3, see comments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host: | |
id: "hostname" | |
commands: | |
metrics_smartctl_bin: '/usr/sbin/smartctl' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1] on the XCP-NG host, console as root:
mkdir /root/scrutiny
2]
cd /root/scrutiny
3] (adjust path for the newest release)
wget https://github.com/AnalogJ/scrutiny/releases/download/v0.8.1/scrutiny-collector-metrics-linux-amd64
4]
chmod +x scrutiny-collector-metrics-linux-amd64
5]
create
/root/scrutiny/collector.yaml
6] test run
/root/scrutiny/scrutiny-collector-metrics-linux-amd64 run --config /root/scrutiny/collector.yaml --api-endpoint "http://ip.ad.dr.ess:8081"
7] add to
crontab -e
30 3 * * * /root/scrutiny/scrutiny-collector-metrics-linux-amd64 run --config /root/scrutiny/collector.yaml --api-endpoint "http://ip.ad.dr.ess:8081"