September 30, 20205 yr [BUG] So it seems like scrutiny api endpoint port is not updating with the docker container setting ' SCRUTINY_API_ENDPOINT'. When i entered the command manually it worked: /usr/local/bin/scrutiny-collector-metrics run --api-endpoint http://172.17.0.23:8023 Whatever i put in the ' SCRUTINY_API_ENDPOINT', nothing happened when i ran the command. I think this is a bug. I think the people that are using this right now and got it working did not change the port on the api endpoint. Edited September 30, 20205 yr by cagemaster
September 30, 20205 yr 1 hour ago, cagemaster said: [BUG] So it seems like scrutiny api endpoint port is not updating with the docker container setting ' SCRUTINY_API_ENDPOINT'. When i entered the command manually it worked: /usr/local/bin/scrutiny-collector-metrics run --api-endpoint http://172.17.0.23:8023 Whatever i put in the ' SCRUTINY_API_ENDPOINT', nothing happened when i ran the command. I think this is a bug. I think the people that are using this right now and got it working did not change the port on the api endpoint. Why are you changing the variable? It refers to inside the container and mapping the port to something else on the host side does not effect that setting. The container can be run as a collector or a webgui or both. For most people the default settings running both collector and webgui is fine.
September 30, 20205 yr Just now, saarg said: Why are you changing the variable? It refers to inside the container and mapping the port to something else on the host side does not effect that setting. The container can be run as a collector or a webgui or both. For most people the default settings running both collector and webgui is fine. I was using the default values at first, except for the post mapping in the container settings, since i have another container running at that port. Even then, when i had changed almost nothing, the command did not work. Changing the port setting inside the config file was only for testing if that solved the problem for me. Which it didn't
October 1, 20205 yr 5 hours ago, cagemaster said: I'm also trying and can not get this to work. Container settings: Well, I can help you out (even though no one has responded to why mine is not working) Apparently you can NOT change the API endpoint of the scrutiny UI which you have done. The port has to stay 8080
October 1, 20205 yr Works for me But, set the API endpoint back to http://localhost:8080 and just change the port. (That line, [not quite sure why its there], dicates where scrutiny is listening to. A docker container has no concept of port mapping, and will always listen to its internal port (which is also always going to be on local host)
October 1, 20205 yr No one has any idea about this error still? INFO[0000] Generating WWN type=metrics INFO[0000] Sending detected devices to API, for filtering & validation type=metrics 2020/10/01 12:54:07 ERROR: Post http://localhost:8080/api/devices/register: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
October 1, 20205 yr 1 hour ago, CoZ said: No one has any idea about this error still? INFO[0000] Generating WWN type=metrics INFO[0000] Sending detected devices to API, for filtering & validation type=metrics 2020/10/01 12:54:07 ERROR: Post http://localhost:8080/api/devices/register: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) Maybe dumb question but did you type ‘scrutiny ’ before the command?
October 1, 20205 yr Yup I copied and pasted the term that shows up when you login to the WebGUI the first time. I can see it go down the list and detect all my HDDs and then fails at the end with that error message above. No idea what it means or, why. Edited October 1, 20205 yr by CoZ Left out info
October 1, 20205 yr 12 minutes ago, CoZ said: Yup I copied and pasted the term that shows up when you login to the WebGUI the first time. I can see it go down the list and detect all my HDDs and then fails at the end with that error message above. No idea what it means or, why. Did you leave the api endpoint at localhost:8080?
October 1, 20205 yr I have checked it here now and running the container with privileged mode, you shouldn't need to add any disks for device pass through. But you have to run the scrutiny-collector-metrics run command if you want to see the data after installation or you have to wait until midnight when the cron job runs. The container is made to be either Web service, metrics collector or both. The default is both and you do not change the API endpoint then. That is only needed if you use this container as a remote collector. Edited October 1, 20205 yr by saarg
October 2, 20205 yr 6 hours ago, Squid said: Did you leave the api endpoint at localhost:8080? Yup, I didn't touch the api endpoint. I only changed the webgui port.
October 4, 20205 yr Hey, This is AnalogJ, the developer of Scrutiny. I've seen some confusion around the SCRUTINY_API_ENDPOINT. If you're using the "all-in-one" container, which runs both the API and the collector, you do not need to touch that variable. Set it to the default value (http://localhost:8080). Within the container, the API is listening on localhost:8080, even if you bind that port to something else on your host. It's primarily used by users who are deploying scrutiny in a hub/spoke model -- one API server & db with multiple collectors. Hopefully that fixes most of your issues, however if any of you are still running into problems, feel free to open an issue on Github: https://github.com/AnalogJ/scrutiny. I can also be found on the Self-Hosted podcast discord & the LinuxServer.io discord: AnalogJ#3506 If you find Scrutiny useful, and you'd like to support my work, here's a link to my Github Sponsors page: https://github.com/sponsors/AnalogJ Thanks for your interest & support!
October 5, 20205 yr Well this is DAMN strange. I've changed nothing but noticed a update to the docker container a few days ago. I updated the container and left it alone. I started it today to come back and try and figure out how to get past the error message I was getting... started the WebGUI and all my HDD data was there. I hate and love when stuff like this happens lol
October 24, 20205 yr I just replaced 2 drives and re-ran the scrutiny-collector-metrics run command and it shows the new drives BUT the old drive data still exists. anyway to remove those? Edit: I also noticed it's not updating the powered on area which leads me to believe it's not properly keeping drive data updated. Edited October 24, 20205 yr by SkinnySkelly
October 27, 20205 yr On 10/24/2020 at 7:56 AM, SkinnySkelly said: I just replaced 2 drives and re-ran the scrutiny-collector-metrics run command and it shows the new drives BUT the old drive data still exists. anyway to remove those? Edit: I also noticed it's not updating the powered on area which leads me to believe it's not properly keeping drive data updated. Currently there's no way to delete old drives. It's on my to-do list. It's not updating powered on data for your new drives? By default the collector runs once a day, so after 24h you should see a change to that number. If it doesn't can you open an issue on the Github (with logs)? https://github.com/AnalogJ/scrutiny/
December 10, 20205 yr So this was working for me without issue previously (after not working for whatever reason). I just upgraded my Cache drive from 240GB to a 1TB different manufacturer. I tried to run the scrutiny command again in the docker's console and, once again was greeted by this lovely message that no one seems to have an answer for: INFO[0000] Sending detected devices to API, for filtering & validation type=metrics 2020/12/09 22:07:35 ERROR: Post http://localhost:8080/api/devices/register: dial tcp 192.168.1.123:8080: connect: no route to host
December 19, 20205 yr On 9/30/2020 at 3:19 PM, cagemaster said: I read somewhere that that command runs once every day. Link to quote: https://github.com/AnalogJ/scrutiny#usage Mine is not running automatically. Is there a way to schedule it?
January 25, 20215 yr how do I refresh it?????? as it is showing me data from drives a day old, I have uninstalled it and reinstalled it, still old data. I know it does it one a day, but when you have been changing drives, you want a refresh button, please Also it is seeing my WD SAS 3tb and 4tb drives as seagate Parity 2ST4000NM0023_Z1Z0C3DW - 4 TB (sdo)32 C1,216,397163,6080Disk 1ST33000650SS_Z293MTCQ - 3 TB (sdc)25 Edited January 25, 20215 yr by viola2572 adding
February 20, 20215 yr Does the new version spam the unraid log with hundreds of line? Quote Feb 20 19:36:00 Unraid crond[273]: user:root entry:*/15 * * * * run-parts /etc/periodic/15min Feb 20 19:36:00 Unraid crond[273]: user:root entry:0 * * * * run-parts /etc/periodic/hourly Feb 20 19:36:00 Unraid crond[273]: user:root entry:0 2 * * * run-parts /etc/periodic/daily Feb 20 19:36:00 Unraid crond[273]: user:root entry:0 3 * * 6 run-parts /etc/periodic/weekly Feb 20 19:36:00 Unraid crond[273]: user:root entry:0 5 1 * * run-parts /etc/periodic/monthly Feb 20 19:36:00 Unraid crond[273]: user:root entry:0 0 * * * /usr/local/bin/scrutiny-collector-metrics run --api-endpoint http://localhost:8080 >> /config/log/scrutiny-collector-metrics.log 2>&1 Feb 20 19:36:00 Unraid crond[273]: wakeup dt=56 Feb 20 19:36:00 Unraid crond[273]: file root: Feb 20 19:36:00 Unraid crond[273]: line run-parts /etc/periodic/15min Feb 20 19:36:00 Unraid crond[273]: line run-parts /etc/periodic/hourly Feb 20 19:36:00 Unraid crond[273]: line run-parts /etc/periodic/daily Feb 20 19:36:00 Unraid crond[273]: line run-parts /etc/periodic/weekly Feb 20 19:36:00 Unraid crond[273]: line run-parts /etc/periodic/monthly Feb 20 19:36:00 Unraid crond[273]: line /usr/local/bin/scrutiny-collector-metrics run --api-endpoint http://localhost:8080 >> /config/log/scrutiny-collector-metrics.log 2>&1 Edited February 20, 20215 yr by L0rdRaiden
February 20, 20215 yr 2 hours ago, L0rdRaiden said: Does the new version spam the unraid log with hundreds of line? It's in the unraid log or the scrutiny docker log?
February 20, 20215 yr 11 minutes ago, saarg said: It's in the unraid log or the scrutiny docker log? Unraid log
February 20, 20215 yr 1 hour ago, L0rdRaiden said: Unraid log That should be in the unraid log. Not sure what is happening. Could you post your docker run command?
February 24, 20215 yr On 2/20/2021 at 11:50 PM, saarg said: That should be in the unraid log. Not sure what is happening. Could you post your docker run command? root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='Scrutiny' --net='host' --cpuset-cpus='3,7' --privileged=true -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e 'TCP_PORT_8080'='8080' -e 'PUID'='1000' -e 'PGID'='1000' -e 'SCRUTINY_API_ENDPOINT'='http://localhost:8080' -e 'SCRUTINY_WEB'='true' -e 'SCRUTINY_COLLECTOR'='true' -v '/mnt/user/Docker/Scrutiny':'/config':'rw' -v '/run/udev':'/run/udev':'ro' -v '/dev':'/dev':'ro' --dns=10.10.50.5 --cap-add=SYS_ADMIN --cap-add=SYS_RAWIO 'linuxserver/scrutiny' 02278bda8e2da04c238c983c5e85df76703f16eaaacb45dd974f6451b5ba0fe3
February 24, 20215 yr 3 hours ago, L0rdRaiden said: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='Scrutiny' --net='host' --cpuset-cpus='3,7' --privileged=true -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e 'TCP_PORT_8080'='8080' -e 'PUID'='1000' -e 'PGID'='1000' -e 'SCRUTINY_API_ENDPOINT'='http://localhost:8080' -e 'SCRUTINY_WEB'='true' -e 'SCRUTINY_COLLECTOR'='true' -v '/mnt/user/Docker/Scrutiny':'/config':'rw' -v '/run/udev':'/run/udev':'ro' -v '/dev':'/dev':'ro' --dns=10.10.50.5 --cap-add=SYS_ADMIN --cap-add=SYS_RAWIO 'linuxserver/scrutiny' 02278bda8e2da04c238c983c5e85df76703f16eaaacb45dd974f6451b5ba0fe3 I don't see anything wrong there. Does it stop if you stop the container?
February 25, 20215 yr 17 hours ago, saarg said: I don't see anything wrong there. Does it stop if you stop the container? Yes Could it be because of this? --cap-add=SYS_RAWIO
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.