You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
First, thank you for this great check script. I am using it on the models DS918+ and DS920+.
The storage check did not work for me and gave me following error: File "./check_synology", line 202, in <module> storage_size = int((int(allocation_units) * int(size)) / 1000000000) ValueError: invalid literal for int() with base 10: 'NOSUCHINSTANCE'
this is because we get an invalid or more over-useless value for oid in line 193.
i = item.oid.split('.')[-1]
So it simply needs to be changed to: i = item.oid_index.split('.')[-1]
I hope this can help somebody else.
The text was updated successfully, but these errors were encountered:
Hello,
First, thank you for this great check script. I am using it on the models DS918+ and DS920+.
The storage check did not work for me and gave me following error:
File "./check_synology", line 202, in <module> storage_size = int((int(allocation_units) * int(size)) / 1000000000) ValueError: invalid literal for int() with base 10: 'NOSUCHINSTANCE'
this is because we get an invalid or more over-useless value for oid in line 193.
i = item.oid.split('.')[-1]
So it simply needs to be changed to:
i = item.oid_index.split('.')[-1]
I hope this can help somebody else.
The text was updated successfully, but these errors were encountered: