-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cciss_vol_status exclude /dev/sg2 #149
Comments
read CONTRIBUTING.md how to report bugs! |
---plugin version check_raid 4.0.2--- check_raid -d -p cciss cat /sys/module/hpsa/refcnt
cat /proc/driver/cciss
/usr/bin/cciss_vol_status -v
/usr/bin/cciss_vol_status -V /dev/sg0 /dev/sg1 /dev/sg2
|
Proposed solution: |
i was rather thinking iterate over /dev/sgX nodes and skip ones that doesn't exist. |
i suppose you don't have |
CASE2 ---plugin version check_raid 4.0.2--- check_raid -d -p cciss
cat /sys/module/hpsa/refcnt
cat /proc/driver/cciss
/usr/bin/cciss_vol_status -v
/usr/bin/sudo -A /usr/bin/cciss_vol_status /dev/sg0 /dev/sg1 /dev/sg2
|
CASE3 ---plugin version check_raid 4.0.2--- check_raid -d -p cciss
|
I don't have lsscsi installed. What information are you after? in regard of CASE3 for example
OR
|
Iterate seems a good way of solving the non-existent sgX |
|
also include command whose output you pasted in those |
First run: |
edited your post. hopefully correctly. i'm waiting for you to try installing |
lsscsi --version
lsscsi -g
sudo ./check_raid -d -p cciss
/usr/bin/lsscsi -g
/usr/bin/cciss_vol_status -v
sudo /usr/bin/cciss_vol_status /dev/sg0
|
ONE MORE check_raid --version lsscsi --version ./check_raid -d -p cciss
lsscsi -g
/usr/bin/cciss_vol_status -v /usr/bin/sudo -A /usr/bin/cciss_vol_status /dev/sg0
BUT
AND
THEREFORE
|
It seems that when you force the check using the -p flag that the error is triggered.
which would be the case to ignore dm instead of triggering a WARNING but if:
the first check without flags used cciss as well as dm and hpacucli but cciss did not fail. |
fixed smartctl import, is this sufficient? |
/usr/local/nagios/libexec/./check_raid.pl -V -d
I have also installed libmonitoring-plugin-perl from jessie-backports but still not running.... |
what is also the dist version of plugin is self contained! |
ermm I downloaded the new version from the Download button on the code page...
...self contained means it should not exit with the missing module error...I might be wrong... |
don't know what is "download button on the code page", no urls given and no screenshots... instructions from readme:
yes, self contained means it needs just perl engine and the |
got it...I will let you know as soon as tested. Thanks |
released 4.0.5 |
Hi there I am running the plugin with -p cciss
I get this:
Remote command execution failed: cciss_vol_status: open /dev/sg2: No such file or directory
How can I exclude the missing directory, is there a switch to do so?
If I manually run on the server:
sudo /usr/bin/cciss_vol_status -V /dev/sg0 /dev/sg1
I get everything I need.
Thanks
The text was updated successfully, but these errors were encountered: