Comments (6)
Please see https://github.com/glensc/nagios-plugin-check_raid/blob/master/CONTRIBUTING.md on how to properly report issues.
from nagios-plugin-check_raid.
and perhaps read the usage, specify only plugins you want to use:
-p --plugin <name(s)> Force the use of selected plugins, comma separated
check_raid -p ssacli
for hpacucli
if you want to fix, you should create a proper bug report as pointed out by @csware
from nagios-plugin-check_raid.
Sorry for the bump, but it would be great if someone could provide some help with this. Thanks in advance!
from nagios-plugin-check_raid.
I forgot about this thread. The error is not the script btw. It's working fine, because on a different server with the same setup it's not giving an error.
No clue why. But I think it's related to "hpssacli" as "ssacli" is working fine, as seen in the front-end:
(see last part with ssacli): UNKNOWN: hpssacli:[Slot 0 (Embedded) [ERROR, The controller must be identified by slot, serialnumber, index, first,]]: ssacli:[Smart Array P440ar[OK]: Array A(OK)[LUN1:OK]]
I already uninstalled hpssacli from the server for testing. The error is shorter now, but still there.
Other server (with same specs): OK: ssacli:[Smart Array P440ar[OK]: Array A(OK)[LUN1:OK]]
Output 1:
/usr/lib64/nagios/plugins/check_raid.pl -p ssacli
OK: ssacli:[Smart Array P440ar[OK]: Array A(OK)[LUN1:OK]]
Output 2 (after uninstalling hpacucli):
/usr/lib64/nagios/plugins/check_raid.pl -p hpacucli
check_raid UNKNOWN - No active plugins (No RAID found)
Will re-check if I can see the cause for that.
Regards
from nagios-plugin-check_raid.
A small update. Now this is the strange part. Both servers have the same RAID controller.
But when I test it like below, I get different output.
SERVER 1
[root@server1~]# /usr/lib64/nagios/plugins/check_raid.pl -p hpacucli
check_raid UNKNOWN - No active plugins (No RAID found)
[root@server1~]# vi /etc/nagios/nrpe.cfg
[root@server1~]# /usr/lib64/nagios/plugins/check_raid
Unhandled: [ or IPF information.]
Use of uninitialized value in string ne at /usr/lib64/nagios/plugins/check_raid.pl line 3149.
UNKNOWN: hpssacli:[Slot 0 (Embedded) [ERROR, The controller must be identified by slot, serialnumber, index, first,]]; ssacli:[Smart Array P440ar[OK]: Array A(OK)[LUN1:OK]]
(this also translates into the error as I am seeing in the front-end)
But on the other server: SERVER 2
[root@server2~]# /usr/lib64/nagios/plugins/check_raid
OK: ssacli:[Smart Array P440ar[OK]: Array A(OK)[LUN1:OK]]
Strange. Must be some older reference related to hpssacli, right?
from nagios-plugin-check_raid.
Okay added fot the "problem" server the part: -p ssacli
No more errors.
Sorry for your time.
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 -
- "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.