Comments (6)
I have to add, that this warning feature worked well in a previous version (2.1):
./check_raid -v
check_raid Version 2.1
./check_raid
WARNING: md:[md2(raid1):UU (check:93.9% 6224K/sec ETA: 471.5min), md1(raid1):UU, md0(raid1):UU]
Newest version available on github (as of 2013-04-26):
./check_raid.pl -v
Unknown option: v
(-v doesnt work anymore... ?)
./check_raid.pl
OK: mdstat:[md2(2.73 TiB raid1):UU, md1(511.99 MiB raid1):UU, md0(2.00 GiB raid1):UU]
from nagios-plugin-check_raid.
i don't have time to check this now, but could you attach your /proc/mdstat
so later when i have time would be still able to debug this. better some raw form, as the formatting is usually important (tabs vs two or three spaces), etc. i.e it would just simple parse fault due changed kernel version or so. oh and if you can, your kernel version too.
as for -v
, i think the option is now --version
or capital -V
and -v
is supposed to be reserved for "verbose" in the future.
from nagios-plugin-check_raid.
You're right, -V works for the version output. -h doesnt work though:
# ./check_raid.pl -V
check_raid Version 3.0
# ./check_raid.pl -h
Undefined subroutine &main::print_help called at ./check_raid.pl line 3001.
The raw output of /proc/mdstat looks like this:
# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sdb3[0] sda3[2]
2927641919 blocks super 1.2 [2/2] [UU]
[===================>.] check = 98.3% (2879283712/2927641919) finish=81.7min speed=9854K/sec
md1 : active raid1 sda2[2] sdb2[1]
524276 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sda1[2] sdb1[1]
2096116 blocks super 1.2 [2/2] [UU]
unused devices: <none>
from nagios-plugin-check_raid.
the check
state check was removed in #23
from nagios-plugin-check_raid.
from nagios-plugin-check_raid.
try 3.0.2, it's configurable now
from nagios-plugin-check_raid.
Related Issues (20)
- arcconf: bbu monitoring for flash+battery/supercap adaptec modules HOT 1
- arcconf: doesn't handle logical device status: Impacted (Build/Verify with fix : 90 %) HOT 2
- Allow to ignore plugins
- No remote servers RAID status: check_raid UNKNOWN HOT 16
- Possible to hide "OK" results or just showing "OK" and not all devices? HOT 4
- Error runing plug-in on debian 10 HOT 10
- remote monitor HOT 1
- Use of StorCli instead of MegaCli HOT 5
- [bug] with parsing mdadm output => Unexpected parse
- Sudo error on centos
- WARNING: megacli:[Volumes(1): DISK0.0:Optimal, WriteCache:DISABLED HOT 2
- arcconf: parse error HOT 6
- Unexpected parse at ./check_raid.pl line 3578, <$fh> line 6. HOT 1
- HP ssacli - consider predictive failure information HOT 6
- HP ssacli - rebuilding shouldn't perhaps still be warning state? HOT 6
- HP ssacli -
- Error with P440AR RAID controller. How to solve, what to change? Please advice. HOT 6
- "NOT PARSED" and "Can't locate object method" errors HOT 2
- Feature Request mdstat: Warn when auto-read-only array detected
- "sudo: a password is required" on Ubuntu 20.0.4 HOT 4
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 nagios-plugin-check_raid.