-
-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD: scrutiny - Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds #582
base: main
Are you sure you want to change the base?
Conversation
NOTE: The container documentation says to open a port for Influxdb. I think it's an error as Influxdb is installed in the container along with scrutiny - they they can talk directly without leaving the container's network. With the port open you can access the Influxdb's web UI, but no credentials can be found. I've closed the port, and thus direct access to Influxdb, and scrutiny continues to work flawlessly. I've purposely left scrutiny_influxdb_port in the defaults file just in case I'm in error or something changes in the future but am not using it in the task. |
Oh cool! I think I just discovered the way to solve this! Yay! Excited! I didn't realize that an Ansible variables can contain a list. Just discovered this is the ansible-nas-general defaults. Super happy. I think this will solve the problem and I'll work on it later today or tomorrow. REF:
|
Problem overcome. Updated. Tested. Ready for review. |
Please re-run checks. GH has been having problems.
|
What this PR does / why we need it:
NOTE: This is a work in progress and help is requested to overcome a configuration obstacle.
Adds scrutiny - Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds
Which issue (if any) this PR fixes: #2 from the very early days of AN!
Fixes #
Any other useful info:
This scrutiny addition has a problem to overcome that I'm not technically proficient enough at the moment to solve. I'm requesting help to get this finished. The problem is the list of devices (disks) will be different for different users. Thus the devices can't statically be assigned, with the possible exception of sda, in the task file. Asking users to edit the task file is out of the question as it would just be overwritten on their next git pull. So the disk device list needs to be created dynamically at runtime. Ansible facts can supply the info. A little Googlefu and I can get the info, but I (repeat) am not technically proficient enough at Ansible to process the info arrays and use it. So hopefully someone good at that stuff can help finish this.
This gets and displays the needed info, but that's as far as I got.