Comments (2)
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.
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
from check_synology.
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
from check_synology.
Related Issues (8)
- "list index out of range" error on debian 11 HOT 12
- Return correct Nagios return codes when unreachable or on internal error HOT 9
- little bug ? HOT 4
- TypeError: __init__() got an unexpected keyword argument 'capture_output' HOT 1
- Memory and Storage ValueError HOT 4
- TypeError: must be str, not NoneType HOT 3
- some missing parameters (timeout, warn/crit for load check) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check_synology.