[Nagiosplug-devel] help with check_smart

Jared Kelley jkelley at popcap.com
Tue Feb 1 00:28:07 CET 2011

I'm trying to run a nagios check on a host running a 3ware controller.
Smartctl works but I cannot find the correct syntax for the plugin check to work.

Can someone help with this?

3ware controller version
> show version
CLI Version =
API Version =
CLI Compatible Range = [ to]

Ctl   Model        Ports   Drives   Units   NotOpt   RRate   VRate   BBU
c6    8006-2LP     2       2        1       0        2       -       -

SUCCESS with smartctl

# smartctl -H -d 3ware,0 /dev/twe0
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

SMART overall-health self-assessment test result: PASSED

FAIL with check_smart

# /usr/lib/nagios/plugins/check_smart -d 3ware,0 /dev/twe0 -i scsi
3ware,0 is not a valid block device!

More information about the Devel mailing list