This perl script can log into multiple switches and collect Smart SFP/GBIC data from those switch(es) and then sorts the data from high to low for the following categories: Temperature, Voltage, Current, Recieve Power, and Transmit Power. The script outputs the rankings to STDOUT by switch and overall.
Operating System Any OS with Perl and Perl modules Net::Telnet and Getopt::Long
Interface Command Line
Fabric Operating System 2.x and higher
NOTES (INCLUDING LIMITATIONS)
USAGE: sfp_data_collect.pl -i <ip address> OPTIONS
--dump_log | -d <filename> Capture Net::Telnet dump_log to <filename>.
--fabric | -f Script will run in fabric mode.
--help | -h Print this message and exit.
--ip_address | -i <ip address> Allows for input of multiple ip addresses.
--password | -p <password> Use to log into the switches.
--username |-u <username> Use to log into the switches.
--verbose | -v <level> Levels 0 = off to 4 = debug.
NOTE: This contribution was migrated by Brocade from the former Brocade Connect community on March 13, 2008, on behalf of the author.