Giter Site home page Giter Site logo

Comments (6)

csware avatar csware commented on August 25, 2024 2

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.

glensc avatar glensc commented on August 25, 2024 1

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.

HHawk avatar HHawk commented on August 25, 2024

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.

HHawk avatar HHawk commented on August 25, 2024

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.

HHawk avatar HHawk commented on August 25, 2024

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.

HHawk avatar HHawk commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.