Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Recently, our command was faced with the new controllers of the company 3ware. And we had to redo the script because in new version of the TW_?LI output changed.
Version of TW_CLI: Copyright (c) 2011 LSI LSI/3ware CLI (version 2.00.11.020)
# lspci | grep RAID 05:00.0 RAID bus controller: 3ware Inc 9750 SAS2/SATA-II RAID PCIe (rev 05)
And the result of command DIFF with old 1.1 version:
239c239,244 #print “test_drives result: [ %s ]” % lines > controllers = [] > for line in lines: > if line.split() == “”: > controlers.append(line.split()[0]) >