Skip to content

UNKNOWN: cciss:[Plugin error]; dm:[No devices to check] #170

@ozore

Description

@ozore

After adding a new RAID onto my server i obtained that error in our shinken interface.

Output of check_raid -d:

root@xxxxxxxx:/usr/lib/nagios/plugins# perl check_raid -d
check_raid 4.0.5
Visit <https://github.com/glensc/nagios-plugin-check_raid#reporting-bugs> how to report bugs

DEBUG EXEC: /proc/mdstat at check_raid line 483.
DEBUG EXEC: /usr/bin/lsscsi -g at check_raid line 483.
DEBUG EXEC: >&2 /usr/sbin/cciss_vol_status -v at check_raid line 479.
DEBUG EXEC: /usr/sbin/cciss_vol_status -V /dev/sg0 at check_raid line 483.
DEBUG EXEC: /sbin/dmsetup status --noflush at check_raid line 483.
DEBUG EXEC: /usr/sbin/hpacucli controller all show status at check_raid line 483.
DEBUG EXEC: /usr/sbin/hpacucli controller slot=0 logicaldrive all show at check_raid line 483.
UNKNOWN: cciss:[/dev/sda(Smart Array P420i): Volume 0 (RAID 1): OK, /dev/sdb(Smart Array P420i): Volume 1 (RAID 1): OK, /dev/sdc(Smart Array P420i): Volume 2 (RAID 5): OK, Drives(8): 1I-1-1,1I-1-2,1I-1-3,1I-1-4,2I-1-5,2I-1-6,2I-1-7,2I-1-8=OK]; dm:[No devices to check]; hpacucli:[Smart Array P420i[OK]: Array A(OK)[LUN1:OK], Array B(OK)[LUN2:OK], Array C(OK)[LUN3:OK]]

As explained in previous issues, i installed
lsscsi

root@xxxxxxxxx:/usr/lib/nagios/plugins# lsscsi -g
[0:0:0:0]    storage HP       P420i            6.68  -          /dev/sg0
[0:1:0:0]    disk    HP       LOGICAL VOLUME   6.68  /dev/sda   /dev/sg1
[0:1:0:1]    disk    HP       LOGICAL VOLUME   6.68  /dev/sdb   /dev/sg2
[0:1:0:2]    disk    HP       LOGICAL VOLUME   6.68  /dev/sdc   /dev/sg3
[1:0:0:0]    cd/dvd  hp       DVD A  DU8A4SH   QHE7  /dev/sr0   /dev/sg4

We initially had two disk in RAID 1 and we installed a new RAID 5. ( lvm partition ) .
Any idea on how to proceed to make that check_raid.pl script run again?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions