Giter Site home page Giter Site logo

Comments (10)

glensc avatar glensc commented on August 25, 2024

please provide full debug information so i could debug this in my environment. see contributing.md file
also, what version of plugin are you using? cciss was rewritten in v3.2

from nagios-plugin-check_raid.

waja avatar waja commented on August 25, 2024

$ /usr/lib/nagios/plugins/check_raid -d /proc/mpt
DEBUG EXEC: /sys/module/hpsa/refcnt at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /proc/driver/cciss at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG OPENDIR: /proc/driver/cciss at /usr/lib/nagios/plugins/check_raid line 442.
DEBUG EXEC: /proc/driver/cciss/cciss0 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: >&2 /usr/bin/cciss_vol_status -v at /usr/lib/nagios/plugins/check_raid line 431.
DEBUG EXEC: /usr/bin/cciss_vol_status /dev/cciss/c0d0 at /usr/lib/nagios/plugins/check_raid line 435.
Unparsed[/dev/cciss/c0d0: (Smart Array 6i) Enclosure PROLIANT 6L2I (S/N: ) on Bus 0, Physical Port J1 status: OK.] at /usr/lib/nagios/plugins/check_raid line 3364, <$fh> line 2.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,0 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,1 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,2 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,3 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,4 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,5 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,6 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,7 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,8 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,9 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,10 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,11 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,12 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,13 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,14 at /usr/lib/nagios/plugins/check_raid line 435.
DEBUG EXEC: /usr/sbin/smartctl -H /dev/cciss/c0d0 -dcciss,15 at /usr/lib/nagios/plugins/check_raid line 435.
OK: cciss:[/dev/cciss/c0d0(Smart Array 6i): Volume 0 (RAID 1): OK /dev/cciss/c0d0#0,/dev/cciss/c0d0#1,/dev/cciss/c0d0#2=OK]

from nagios-plugin-check_raid.

waja avatar waja commented on August 25, 2024

$ cat cciss0.out
cciss0: HP Smart Array 6i Controller
Board ID: 0x40910e11
Firmware Version: 2.58
IRQ: 24
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 1
Max Q depth since init: 6
Max # commands on controller since init: 7
Max SG entries since init: 128
Sequential access devices: 0

cciss/c0d0: 72.88GB RAID 1(1+0)
$ cat cciss_vol_status.out
cciss_vol_status version 1.0
/dev/cciss/c0d0: (Smart Array 6i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d0: (Smart Array 6i) Enclosure PROLIANT 6L2I (S/N: ) on Bus 0, Physical Port J1 status: OK.
$ cat smartctl.out
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

SMART Health Status: OK
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

SMART Health Status: OK
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

SMART Health Status: OK
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae](local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Standard Inquiry (36 bytes) failed [No such device or address]
Retrying with a 64 byte Standard Inquiry
Standard Inquiry (64 bytes) failed [No such device or address]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

from nagios-plugin-check_raid.

waja avatar waja commented on August 25, 2024

If you need the output files in another way or you need additional informations, please let me know.

from nagios-plugin-check_raid.

glensc avatar glensc commented on August 25, 2024

i need to know what commands it tried to run too, it would be easier me to put the output to proper test files

from nagios-plugin-check_raid.

waja avatar waja commented on August 25, 2024

i need to know what commands it tried to run too, it would be easier me to put the output to proper test files

How do I attach files to the github issue interface?=

from nagios-plugin-check_raid.

glensc avatar glensc commented on August 25, 2024

you already included the outputs, i just want to see the commands too that -d option printed.

but you can't attach files, that's why in contributing.md i was suggesting gist

from nagios-plugin-check_raid.

glensc avatar glensc commented on August 25, 2024

ah sorry, i see the commands now, nvm. when i quickly looked earlier, i did not notice. sorry :)

from nagios-plugin-check_raid.

glensc avatar glensc commented on August 25, 2024

i see the plugin reports status OK, just the enclosure line is not parsed well. do you expect some other status code here? or just the unparsed message confuses you?

from nagios-plugin-check_raid.

waja avatar waja commented on August 25, 2024

Yes, the was abit messed ... thanks for fixing.

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.