Build precise queries to find exactly what you need
Press ESC to close
@mange-cailloux
Member Since: June 15, 2021
Favorites0
Views
Projects0
Thank you for this great plugin ! It seems however to have a problem in the raid usage thresholds if i'm not mistaking : when used without warning and critical, it returns ok and print performance data just fine. However, when i use the warning and critical switches, the warning state fires when it should be ok. Currently my raid is at about 40% full, but i get a warning even when i set -w to 50 % and -c to let's say 75 % php check_synology.php -H xxx -P 3 -u xxx -p xxx -a SHA -x AES -X xxx -m raid -n 1 -t usage -w 50 -c 75 WARNING - Free: 2127.455 GB , Used: 1445.091 GB , Total: 3572.546 GB| used=1445.091GB;1786.273;1607.646;;3572.546 let's go further and use crazy 99-100% values, problem is still there php check_synology.php -H xxx -P 3 -u xxx -p xxx -a SHA -x AES -X xxx -m raid -n 1 -t usage -w 99 -c 100 WARNING - Free: 2127.342 GB , Used: 1445.205 GB , Total: 3572.546 GB| used=1445.205GB;3536.821;3572.546;;3572.546 Am i missing something or is it a bug ? From what i've read, i should have the right format Example Critical and Warning procent (Usage) -w 80 -c 90 = warning > 80% and critical > 90% (raid, cpu, memory) I hope this message reach you well, and thanks again for the great work !
Reviewed 4 years ago