-
Notifications
You must be signed in to change notification settings - Fork 27
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
volstatus not working properly. #22
Comments
Hi I thinks that script don't manage correctly size with multiple volumegroups, i have to verify this. Thanks |
Hi, I've the same problem with 6 volume, return this error. With 4 volume works nice but with more than 4 return this error: (..) (standard_in) 1: illegal character: S (..) You can resolve this please? Thank you |
Sorry in this period i don'd find time for check this script. I have only 1 volume in my qnap :( but there is a bug in code |
I have the same issue. The
The volumes 1 and 2 are working great. If I call
But if call
It looks like it's not an issue of In my QNAP config, volume 1 is a thick volume. Volume 2 is a static volume and volume 3 is a thin volume. Maybe it's a problem with the volume type "thin volume". @fabien4455 @ricain59 What's the type of your volume, Best regards |
Turn off and on SNMP in control panel in QNAP. |
Hello ! I have a problem with your script.
Here are my volumes showed in Qnap Web interface :
Here is the return of command line :
root@myserver:/usr/lib/nagios/plugins# ./check_qnap 10.4.1.5 public volstatus 10 15
(standard_in) 1: illegal character: S
(standard_in) 1: illegal character: S
(standard_in) 1: syntax error
./check_qnap: line 628: [: : integer expression expected
./check_qnap: line 631: [: : integer expression expected
Volume #1: OK: Ready, Total Size (bytes): 48.5 GB, Free: 31.7 GB (65%), Volume #2: OK: Ready, Total Size (bytes): 491.5 GB, Free: 491.4 GB (99%), Volume #3: CRITICAL: Such, Total Size (bytes): Such Instance, Free: Such Instance (%)|FreeSize_Volume-1=65%;10;15;0;100 FreeSize_Volume-2=99%;10;15;0;100 FreeSize_Volume-3=%;10;15;0;100
I have tried your new version but same problem.
Could you please fix it ? Thank's and have a nice day
The text was updated successfully, but these errors were encountered: