Title. There doesn’t seem to be any info about the node’s vetting status in the Web Dashboard, and I couldn’t find the requirements for a node to stop being vetted. TIA!
You can use this script to check your Audits:
If the success Auditrate is >100 your Node should be vetted.
Better to request a storagenode API, since logs could be deleted during upgrade.
Alexey, sorry for stupid question, but where do I enter this command (I am on Centos 7)? In terminal I got reply like “bash: jq: command not found…”
Hello @biryak,
Welcome to the forum!
In the terminal. But you need to install the jq
first:
sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install jq -y
Loaded plugins: fastestmirror, langpacks
epel-release-latest-7.noarch.rpm | 15 kB 00:00
Examining /var/tmp/yum-root-Mzvnis/epel-release-latest-7.noarch.rpm: epel-release-7-12.noarch
/var/tmp/yum-root-Mzvnis/epel-release-latest-7.noarch.rpm: does not update installed package.
Error: Nothing to do
That’s what I got(
Just proceed to the second command.
As I understand it, the first command adds a repository, which you already seem to have.
Thanks to everyone, it works now!
Script updated with the last API endpoint and output format:
for sat in `docker exec -i storagenode wget -qO - localhost:14002/api/sno | jq .satellites[].id -r`;
do
docker exec -i storagenode wget -qO - localhost:14002/api/sno/satellite/$sat | jq .id,.audit;
done
I get results like that:
"1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE"
{
"totalCount": 12,
"successCount": 12,
"alpha": 9.733158334409895,
"beta": 0,
"unknownAlpha": 9.733158334409895,
"unknownBeta": 0,
"score": 1
}
What do these values refer to ? How I know if I am vetted regarding them ?
If successCount reaches 100, your node is vetted.
This was working perfectly before, but now i only get this instead of report:
wget: can’t connect to remote host (127.0.0.1): Connection refused
Please, use this instead:
How I know if the node was vetted or if it’s on vetting period?
root@storj:~# bash ./audits_satellites.sh
Fetching satellite audits stat information. Please wait…
Sat ID: :
Unrecoverable Failed Audits: 0
Recoverable Failed Audits: 0
Successful Audits: 33
You need have 100 audits per satellite to be vetted