Comments (10)
please provide full debug information so i could debug this in my environment. see contributing.md file
also, what version of plugin are you using? cciss was rewritten in v3.2
from nagios-plugin-check_raid.
$ /usr/lib/nagios/plugins/check_raid -d /proc/mpt
DEBUG EXEC: /sys/module/hpsa/refcnt at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /proc/driver/cciss at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG OPENDIR: /proc/driver/cciss at /usr/lib/nagios/plugins/check_raid line 442.
DEBUG EXEC: /proc/driver/cciss/cciss0 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: >&2 /usr/bin/cciss_vol_status -v at /usr/lib/nagios/plugins/check_raid line 431.
DEBUG EXEC: /usr/bin/cciss_vol_status /dev/cciss/c0d0 at /usr/lib/nagios/plugins/check_raid line 435.
Unparsed[/dev/cciss/c0d0: (Smart Array 6i) Enclosure PROLIANT 6L2I (S/N: ) on Bus 0, Physical Port J1 status: OK.] at /usr/lib/nagios/plugins/check_raid line 3364, <$fh> line 2.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,0 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,1 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,2 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,3 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,4 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,5 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,6 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,7 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,8 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,9 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,10 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,11 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,12 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,13 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,14 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,15 at /usr/lib/nagios/plugins/check_raid line 435.
OK: cciss:[/dev/cciss/c0d0(Smart Array 6i): Volume 0 (RAID 1): OK /dev/cciss/c0d0#0,/dev/cciss/c0d0#1,/dev/cciss/c0d0#2=OK]
from nagios-plugin-check_raid.
$ cat cciss0.out
cciss0: HP Smart Array 6i Controller
Board ID: 0x40910e11
Firmware Version: 2.58
IRQ: 24
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 1
Max Q depth since init: 6
Max # commands on controller since init: 7
Max SG entries since init: 128
Sequential access devices: 0
cciss/c0d0: 72.88GB RAID 1(1+0)
$ cat cciss_vol_status.out
cciss_vol_status version 1.0
/dev/cciss/c0d0: (Smart Array 6i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d0: (Smart Array 6i) Enclosure PROLIANT 6L2I (S/N: ) on Bus 0, Physical Port J1 status: OK.
$ cat smartctl.out
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
SMART Health Status: OK
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
SMART Health Status: OK
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
SMART Health Status: OK
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
from nagios-plugin-check_raid.
If you need the output files in another way or you need additional informations, please let me know.
from nagios-plugin-check_raid.
i need to know what commands it tried to run too, it would be easier me to put the output to proper test files
from nagios-plugin-check_raid.
i need to know what commands it tried to run too, it would be easier me to put the output to proper test files
How do I attach files to the github issue interface?=
from nagios-plugin-check_raid.
you already included the outputs, i just want to see the commands too that -d option printed.
but you can't attach files, that's why in contributing.md i was suggesting gist
from nagios-plugin-check_raid.
ah sorry, i see the commands now, nvm. when i quickly looked earlier, i did not notice. sorry :)
from nagios-plugin-check_raid.
i see the plugin reports status OK, just the enclosure line is not parsed well. do you expect some other status code here? or just the unparsed message confuses you?
from nagios-plugin-check_raid.
Yes, the was abit messed ... thanks for fixing.
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.