Giter Site home page Giter Site logo

Comments (8)

mesb1 avatar mesb1 commented on August 25, 2024

Also machine with connected fc shows:
cat /sys/block/*/device/model
LOGICAL VOLUME
MSA1000 VOLUME

from nagios-plugin-check_raid.

glensc avatar glensc commented on August 25, 2024

can you try forcing plugin:

./check_raid.pl -p hp_msa

what does it do?

from nagios-plugin-check_raid.

glensc avatar glensc commented on August 25, 2024

btw there's already RFE to have plugin specific options: #58. nothing implemented yet

from nagios-plugin-check_raid.

mesb1 avatar mesb1 commented on August 25, 2024

./check_raid.pl -p hp_msa
No RAID configuration found (tried: )

Debug is the same:
./check_raid.pl -d -p hp_msa
No RAID configuration found (tried: )

Also -l options shows only hpacucli plugin, don't know is it ok or not.
At all i suppose if we set -p hp_msa maybe there is sense to ignore checking volumes via sys just goes to serial line checks?

from nagios-plugin-check_raid.

glensc avatar glensc commented on August 25, 2024

btw, you can just write "return 1" to "sub detect" of "package hp_msa" on your nagios node having serial connected (somewhere on line 3680).

# check from /sys if there are any MSA VOLUME's present.
sub detect {
    return 1;
}

let me know if it works at least then

from nagios-plugin-check_raid.

glensc avatar glensc commented on August 25, 2024

you should be able to set serial line and force plugin to be enabled via plugin options commandline argument:

./check_raid.pl -p hp_msa --plugin-option=hp_msa-serial=/dev/ttyUSB0 --plugin-option=hp_msa-enabled

from nagios-plugin-check_raid.

mesb1 avatar mesb1 commented on August 25, 2024

Nope.
I get new version via:
wget https://raw.github.com/glensc/nagios-plugin-check_raid/master/check_raid.pl -O check_raid.pl
Then:
./check_raid.pl -d -p hp_msa --plugin-option=hp_msa-serial=/dev/ttyS0 --plugin-option=hp_msa-enabled
check_raid Version 3.2.3
See CONTRIBUTING.md how to report bugs with debug data:
https://github.com/glensc/nagios-plugin-check_raid/blob/master/CONTRIBUTING.md

UNKNOWN: hp_msa:[Plugin error]

from nagios-plugin-check_raid.

glensc avatar glensc commented on August 25, 2024

followup issue created #102

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.