Discussion:
Performance monitoring IBM Disk Storage DS5000
Jonathan Caplette
2013-06-11 15:57:00 UTC
Permalink
Jonathan Caplette [http://community.zenoss.org/people/jcaplette] created the discussion

"Performance monitoring IBM Disk Storage DS5000"

To view the discussion, visit: http://community.zenoss.org/message/73590#73590

--------------------------------------------------------------
Hi Guys,

I'm new to Zenoss, but I'm trying to find out a way to monitor the performance of my IBM's DS5020.

I can pull some data from the DS with the IBM client command line: SMcli

# ./SMcli <Controller-A IP> <Controller-B IP> -c "set session performanceMonitorInterval=60 performanceMonitorIterations=1; show allLogicalDrives performanceStats;"

This will give me an output like this:

  Performing syntax check...

  Syntax check complete.

  Executing script...

  "Performance Monitor Statistics for Storage Subsystem: enclosureDS5020 - Date/Time: 6/11/13 11:50:12 AM - Polling interval in seconds: 60"

  "Storage Subsystems ","Total IOs ","Read Percentage ","Cache Hit Percentage ","Current KB/second ","Maximum KB/second ","Current IO/second ","Maximum IO/second"

  "Capture Iteration: 1","","","","","","",""
  "Date/Time: 6/11/13 11:50:13 AM","","","","","","",""
  "CONTROLLER IN SLOT A","32925.0","67.9","52.6","15115.0","15115.0","539.8","539.8"
  "Logical Drive D5020_A_100_host1","23.0","13.0","0.0","8.6","8.6","0.4","0.4"
  "Logical Drive D5020_A_64_host1","21.0","0.0","0.0","0.2","0.2","0.3","0.3"
  "Logical Drive DS5020_A_100_host2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"
  "Logical Drive DS5020_A_128_host3","21.0","0.0","0.0","0.2","0.2","0.3","0.3"
  ...
  "CONTROLLER IN SLOT B","4879.0","20.0","60.0","1884.9","1884.9","80.0","80.0"
  "Logical Drive DS5020_B_100_host1","1700.0","0.0","0.0","260.6","260.6","27.9","27.9"
  "Logical Drive DS5020_B_100_host4","979.0","94.6","0.0","124.2","124.2","16.0","16.0"
  "Logical Drive DS5020_B_128_host5","56.0","3.6","0.0","135.0","135.0","0.9","0.9"
  ...
  "STORAGE SUBSYSTEM TOTALS","37804.0","61.7","52.6","16999.9","16999.9","619.7","619.7"
  Script execution complete.

  SMcli completed successfully.


I can also export those data to a txt or csv file.  Can I get Zenoss to give me a graph of those data?

Thanks
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73590#73590]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ricardo.Gui2
2013-06-12 20:30:25 UTC
Permalink
Ricardo.Gui2 [http://community.zenoss.org/people/Ricardo.Gui2] created the discussion

"Re: Performance monitoring IBM Disk Storage DS5000"

To view the discussion, visit: http://community.zenoss.org/message/73595#73595

--------------------------------------------------------------
I have a DS48 and DS53, I used a those scripts:

1. with cron scheduler every 5 minutes
ds5300.sh
/opt/IBM_DS/client/SMcli -e 192.168.151.212 192.168.151.213 -c "set session performanceMonitorInterval=30 performanceMonitorIterations=1; show allLogicalDrives performanceStats;" > /home/local/scripts/ds5300.log
tail -n +11 /home/local/scripts/ds5300.log | head -n -6 | grep -v '^$' | tr " " "-"  > /home/local/scripts/ds5300_tmp.log


The output is similar to
"CONTROLLER-IN-SLOT-B","52583.0","90.9","64.6","51543.4","51543.4","1696.2","1696.2"

2. with command type on zenoss call
perl_model_ds5300.sh
#!/usr/bin/perl
    use strict;
    use warnings;
    use Text::CSV;
    my $file = '/home/local/scripts/ds5300_tmp.log';
    my $csv = Text::CSV->new();
    open (CSV, "<", $file) or die $!;
    while (<CSV>) {
        if ($csv->parse($_)) {
            my @columns = $csv->fields();
            print "$columns[0]-Total-IOs:$columns[1] ";
            print "$columns[0]-Read-Percentage:$columns[2] ";
            print "$columns[0]-Cache-Hit:$columns[3] ";
            print "$columns[0]-Current-KBs:$columns[4] ";
            print "$columns[0]-Current-IOs:$columns[6] ";
        } else {
            my $err = $csv->error_input;
            print "Failed to parse line: $err";
        }
    }
    close CSV;

The output is

CONTROLLER-IN-SLOT-B-Total-IOs:52583.0 CONTROLLER-IN-SLOT-B-Read-Percentage:90.9 CONTROLLER-IN-SLOT-B-Cache-Hit:64.6 CONTROLLER-IN-SLOT-B-Current-KBs:51543.4 CONTROLLER-IN-SLOT-B-Current-IOs:1696.2

with this info you can create the datapoint an graphics on Zenoss

Loading Image... Loading Image... Loading Image... Loading Image... Loading Image... Loading Image...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73595#73595]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Jonathan Caplette
2013-06-13 11:58:33 UTC
Permalink
Jonathan Caplette [http://community.zenoss.org/people/jcaplette] created the discussion

"Re: Performance monitoring IBM Disk Storage DS5000"

To view the discussion, visit: http://community.zenoss.org/message/73596#73596

--------------------------------------------------------------
Thanks Ricardo..

That is really helpfull... I'm gonna do something similar for my needs.. I'll need a couple of days to implement this, I'll let you and the community know what I did...

Thanks!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73596#73596]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Jonathan Caplette
2013-06-13 19:48:49 UTC
Permalink
Jonathan Caplette [http://community.zenoss.org/people/jcaplette] created the discussion

"Re: Performance monitoring IBM Disk Storage DS5000"

To view the discussion, visit: http://community.zenoss.org/message/73616#73616

--------------------------------------------------------------
HI Ricardo or anyone,

Can you hint me on what you setup as your Data Point and Graph Definition? 

Thanks
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73616#73616]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ricardo.Gui2
2013-06-13 19:59:24 UTC
Permalink
Ricardo.Gui2 [http://community.zenoss.org/people/Ricardo.Gui2] created the discussion

"Re: Performance monitoring IBM Disk Storage DS5000"

To view the discussion, visit: http://community.zenoss.org/message/73617#73617

--------------------------------------------------------------
ok, attach the image with this setup Loading Image... Loading Image... Loading Image... Loading Image...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73617#73617]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Jonathan Caplette
2013-06-14 12:47:00 UTC
Permalink
Jonathan Caplette [http://community.zenoss.org/people/jcaplette] created the discussion

"Re: Performance monitoring IBM Disk Storage DS5000"

To view the discussion, visit: http://community.zenoss.org/message/73615#73615

--------------------------------------------------------------
thanks again.. now im look to for the Graph point definition.. Would be really appreciate
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73615#73615]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...