Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@NKsupport
Favorites0
Views
Projects0
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]) >
Reviewed 13 years ago
Added socket support. http://pastebin.com/QMHxc43X
Reviewed 11 years ago