Skip to content
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

Hotspare Disks are not correctly detected and checked #21

Open
Beleggrodion opened this issue Aug 4, 2023 · 2 comments
Open

Hotspare Disks are not correctly detected and checked #21

Beleggrodion opened this issue Aug 4, 2023 · 2 comments

Comments

@Beleggrodion
Copy link

Beleggrodion commented Aug 4, 2023

Hi,

I found a little issue that the disk check can't detect "hot spare drives" . They had status "Initialized" and this triggers a warning.

Script Output:

NAS-Status: WARNING

Disks:
Disk 0 - Name: Disk 1 
Disk 0 - Status: Normal  - OK
Disk 0 - Model: ST3000VN007-2E4166 
Disk 0 - Temperature: 31.0 C - OK
Disk 1 - Name: Disk 2 
Disk 1 - Status: Normal  - OK
Disk 1 - Model: ST3000VN007-2E4166 
Disk 1 - Temperature: 32.0 C - OK
Disk 2 - Name: Disk 3 
Disk 2 - Status: Initialized  - WARNING
Disk 2 - Model: ST3000VN007-2E4166 
Disk 2 - Temperature: 31.0 C - OK

And here a screenshot from the storage manager. screen is in german but i think the important stuff is still identifiable.

grafik

Greetings

@SnejPro
Copy link
Owner

SnejPro commented Aug 10, 2023

Hi,

I found a little issue that the disk check can't detect "hot spare drives" . They had status "Initialized" and this triggers a warning.

Script Output:

NAS-Status: WARNING

Disks:
Disk 0 - Name: Disk 1 
Disk 0 - Status: Normal  - OK
Disk 0 - Model: ST3000VN007-2E4166 
Disk 0 - Temperature: 31.0 C - OK
Disk 1 - Name: Disk 2 
Disk 1 - Status: Normal  - OK
Disk 1 - Model: ST3000VN007-2E4166 
Disk 1 - Temperature: 32.0 C - OK
Disk 2 - Name: Disk 3 
Disk 2 - Status: Initialized  - WARNING
Disk 2 - Model: ST3000VN007-2E4166 
Disk 2 - Temperature: 31.0 C - OK

And here a screenshot from the storage manager. screen is in german but i think the important stuff is still identifiable.

grafik

Greetings

Hi Beleggrodion,

try this version and let me know if the issue is gone, please.
https://github.com/SnejPro/check_synology/blob/dev/check_synology.py

I changed the state of initalized drives to "OK". Do you think this could cause problems for other users?

Greetings
Jens

@Beleggrodion
Copy link
Author

I will try it.

I changed the state of initalized drives to "OK". Do you think this could cause problems for other users?

I don't know. Because i'm not sure when the synology uses "Initialized" for their disks. Perhaps also when a complety new nas is started for the first time and no raid, etc. exists but in this case the most people don't setup directly the monitoring of their synology nas.

Greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants