Re: Way to collect "current" CPU utilization for all servers?

David Distel <[email protected]> Sat, 09 Nov 2013 12:03:20 -0500
Newsgroups gmane.comp.sysutils.tivoli.general
Message-ID <527E6AD8.3070908__19207.4880739257$1384016638$gmane$org@gmail.com>
This is a multi-part message in MIME format.
--===============0903558517==
Content-type: multipart/alternative;
	boundary=------------000907030407070803060408

This is a multi-part message in MIME format.
--------------000907030407070803060408
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Thanks John. I will take a look at doing this.

David


On 11/8/2013 11:15 PM, John Alvord wrote:
> I can see a way as a do it using a Perl/SOAP. You could grab this example
>
> Sitworld: ITM Agent Health Survey
> https://www.ibm.com/developerworks/community/blogs/jalvord/entry/sitworld_itm_zombie_survey?lang=en 
>
>
> and then change the payload at the center from the getting the oplog 
> to getting the System attribute referencing CPU time. Run it and then 
> spit out the average. Make that the data provider in an Agent builder 
> and then you can feed it into an attribute group for situations and 
> historical data. The payload would have to different depending on 
> Windows/Unix/Linux. Do that every 15 minutes or hour or something.
>
> Maybe there is a way to do a customer TEP workspace view... but that 
> is a display only report
>
> [Advertising - I have several customers using the health survey in 
> production to good effect.]
>
> Regards,
> ______________________________________________
>
> *John Alvord*
> Advisory Engineer and ITM Historian
> IBM Tivoli Monitoring 6 Platform*
> Customer Support *
> Office: 1-720-396-2788
> Mobile: none _
> __jalvord-r/[email protected]_ <mailto:jalvord-r/[email protected]>
> *_
> _**_Cloud & Smarter Infrastructure_* 
> <http://www.ibm.com/software/tivoli/> 	_IBM Support Portal_ 
> <https://www.ibm.com/support/>_
> __Open a New Service Request_ 
> <http://www.ibm.com/support/entry/portal/Open_service_request/>_
> __Update your PMR via Email_ 
> <https://www-304.ibm.com/jct05001c/de/support/ecurep/send_email.html#naming>_
> __Escalate your PMR_ 
> <http://www-304.ibm.com/support/customercare/sas/f/handbook/getsupport.html#9>_
> __My Blog: Wonderful World of Situations_ 
> <https://www.ibm.com/developerworks/mydeveloperworks/blogs/jalvord>_
> __Secure upload to ECUREP_ <https://www.ecurep.ibm.com/app/upload>
>
>
>
>
>
>
>
>
> From: David Distel <[email protected]>
> To: "Discussion list for Tivoli product and Tivoli Ready products." 
> <[email protected]>,
> Date: 11/08/2013 08:41 AM
> Subject: [TME10] Way to collect "current" CPU utilization for all 
> servers?
> Sent by: [email protected]
> ------------------------------------------------------------------------
>
>
>
> We currently have ITM OS agents on about 2800 systems. These are 
> Windows, Linux and Solaris. We are still using ITM version 6.0 , and 
> the ITM OS agent versions deployed are 6.2.0, 6.2.1 and 6.2.2 .
>
>  We do not have Historical data collection active for various reasons 
> (long story). The ITM management system will still go out and gather 
> statistical data from the agents every 15 minutes. We have Situations 
> built that will generate events if CPU Thresholds are violated.
>
>  My question is :
>
> - Is there a way , through the command line perhaps, to get a snapshot 
> of the current CPU utilization for all servers that are running ITM OS 
> agents?
>
> Thanks.
>
> David_______________________________________________
> TME10 mailing list
> [email protected]
> Unsubscribe:[email protected]
>
>
>
> _______________________________________________
> TME10 mailing list
> [email protected]
> Unsubscribe:[email protected]


--------------000907030407070803060408
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks John. I will take a look at doing this.<br>
    <br>
    David<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/8/2013 11:15 PM, John Alvord
      wrote:<br>
    </div>
    <blockquote
cite="mid:OF14E6F7E0.B7C22D91-ON88257C1E.0016AA17-88257C1E.00175C47-r/[email protected]"
      type="cite"><font face="sans-serif" size="2">I can see a way as a
        do it using a Perl/SOAP.
        You could grab this example</font>
      <br>
      <br>
      <font face="sans-serif" size="2">Sitworld: ITM Agent Health Survey</font>
      <br>
      <a moz-do-not-send="true"
href="https://www.ibm.com/developerworks/community/blogs/jalvord/entry/sitworld_itm_zombie_survey?lang=en"><font
          face="sans-serif" size="2">https://www.ibm.com/developerworks/community/blogs/jalvord/entry/sitworld_itm_zombie_survey?lang=en</font></a>
      <br>
      <font face="sans-serif" size="2">&nbsp;</font>
      <br>
      <font face="sans-serif" size="2">and then change the payload at
        the center
        from the getting the oplog to getting the System attribute
        referencing
        CPU time. Run it and then spit out the average. Make that the
        data provider
        in an Agent builder and then you can feed it into an attribute
        group for
        situations and historical data. The payload would have to
        different depending
        on Windows/Unix/Linux. Do that every 15 minutes or hour or
        something.</font>
      <br>
      <br>
      <font face="sans-serif" size="2">Maybe there is a way to do a
        customer
        TEP workspace view... but that is a display only report</font>
      <br>
      <br>
      <font face="sans-serif" size="2">[Advertising - I have several
        customers
        using the health survey in production to good effect.]</font>
      <br>
      <font size="3"><br>
        Regards, <br>
        ______________________________________________</font>
      <table style="border-collapse:collapse;" width="433">
        <tbody>
          <tr height="8">
            <td
              style="border-style:solid;border-color:#000000;border-width:0px
              0px 0px 0px;padding:0px 0px;" width="433"><font size="1"><br>
              </font>
              <table style="border-collapse:collapse;" width="433">
                <tbody>
                  <tr height="8">
                    <td
                      style="border-style:solid;border-color:#000000;border-width:0px
                      0px 0px 0px;padding:0px 0px;" width="221"><font
                        face="Arial" size="1"><b>John
                          Alvord</b><br>
                        Advisory Engineer and ITM Historian<br>
                        IBM Tivoli Monitoring 6 Platform<b><br>
                          Customer Support </b><br>
                        Office: 1-720-396-2788 <br>
                        Mobile: none </font><font color="blue"
                        face="Arial" size="1"><u><br>
                        </u></font><a moz-do-not-send="true"
                        href="mailto:jalvord-r/[email protected]"><font
                          color="blue" face="Arial" size="1"><u>jalvord-r/[email protected]</u></font></a><font
                        size="3"><br>
                      </font><font color="blue" face="Arial" size="1"><b><u><br>
                          </u></b></font><a moz-do-not-send="true"
                        href="http://www.ibm.com/software/tivoli/"><font
                          color="blue" face="Arial" size="1"><b><u>Cloud
                              &amp; Smarter Infrastructure</u></b></font></a>
                    </td>
                    <td
                      style="border-style:solid;border-color:#000000;border-width:0px
                      0px 0px 0px;padding:0px 0px;" width="212"><a
                        moz-do-not-send="true"
                        href="https://www.ibm.com/support/"><font
                          color="blue" face="Arial" size="1"><u>IBM
                            Support Portal</u></font></a><font
                        color="blue" face="Arial" size="1"><u><br>
                        </u></font><a moz-do-not-send="true"
                        href="http://www.ibm.com/support/entry/portal/Open_service_request/"><font
                          color="blue" face="Arial" size="1"><u>Open
                            a New Service Request</u></font></a><font
                        color="blue" face="Arial" size="1"><u><br>
                        </u></font><a moz-do-not-send="true"
href="https://www-304.ibm.com/jct05001c/de/support/ecurep/send_email.html#naming"><font
                          color="blue" face="Arial" size="1"><u>Update
                            your PMR via Email</u></font></a><font
                        color="blue" face="Arial" size="1"><u><br>
                        </u></font><a moz-do-not-send="true"
href="http://www-304.ibm.com/support/customercare/sas/f/handbook/getsupport.html#9"><font
                          color="blue" face="Arial" size="1"><u>Escalate
                            your PMR</u></font></a><font color="blue"
                        face="Arial" size="1"><u><br>
                        </u></font><a moz-do-not-send="true"
                        href="https://www.ibm.com/developerworks/mydeveloperworks/blogs/jalvord"><font
                          color="blue" face="Arial" size="1"><u>My
                            Blog: Wonderful World of Situations</u></font></a><font
                        color="blue" face="Arial" size="1"><u><br>
                        </u></font><a moz-do-not-send="true"
                        href="https://www.ecurep.ibm.com/app/upload"><font
                          color="blue" face="Arial" size="1"><u>Secure
                            upload to ECUREP</u></font></a>
                    </td>
                  </tr>
                </tbody>
              </table>
              <br>
            </td>
          </tr>
          <tr height="8">
            <td
              style="border-style:solid;border-color:#000000;border-width:0px
              0px 0px 0px;padding:0px 0px;" width="433"><br>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <br>
      <br>
      <br>
      <font color="#5f5f5f" face="sans-serif" size="1">From: &nbsp; &nbsp; &nbsp;
        &nbsp;</font><font face="sans-serif" size="1">David Distel
        <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a></font>
      <br>
      <font color="#5f5f5f" face="sans-serif" size="1">To: &nbsp; &nbsp; &nbsp;
        &nbsp;</font><font face="sans-serif" size="1">"Discussion list
        for Tivoli product and Tivoli Ready products."
        <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>,
      </font>
      <br>
      <font color="#5f5f5f" face="sans-serif" size="1">Date: &nbsp; &nbsp; &nbsp;
        &nbsp;</font><font face="sans-serif" size="1">11/08/2013 08:41 AM</font>
      <br>
      <font color="#5f5f5f" face="sans-serif" size="1">Subject: &nbsp; &nbsp;
        &nbsp; &nbsp;</font><font face="sans-serif" size="1">[TME10] Way
        to collect "current" CPU utilization for all servers?</font>
      <br>
      <font color="#5f5f5f" face="sans-serif" size="1">Sent by: &nbsp; &nbsp;
        &nbsp; &nbsp;</font><font face="sans-serif" size="1"><a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a></font>
      <br>
      <hr noshade="noshade">
      <br>
      <br>
      <br>
      <font size="3">We currently have ITM OS agents on about 2800
        systems.
        These are Windows, Linux and Solaris. We are still using ITM
        version 6.0
        , and the ITM OS agent versions deployed are 6.2.0, 6.2.1 and
        6.2.2 .</font>
      <br>
      <br>
      <font size="3">&nbsp;We do not have Historical data collection active
        for various reasons (long story). The ITM management system will
        still
        go out and gather statistical data from the agents every 15
        minutes. We
        have Situations built that will generate events if CPU
        Thresholds are violated.</font>
      <br>
      <br>
      <font size="3">&nbsp;My question is :</font>
      <br>
      <br>
      <font size="3">- Is there a way , through the command line
        perhaps, to
        get a snapshot of the current CPU utilization for all servers
        that are
        running ITM OS agents?&nbsp;</font>
      <br>
      <br>
      <font size="3">Thanks.</font>
      <br>
      <br>
      <font size="3">David</font><tt><font size="2">_______________________________________________<br>
          TME10 mailing list<br>
          <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br>
          <a class="moz-txt-link-abbreviated" href="mailto:Unsubscribe:[email protected]">Unsubscribe:[email protected]</a><br>
        </font></tt>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
TME10 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-abbreviated" href="mailto:Unsubscribe:[email protected]">Unsubscribe:[email protected]</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------000907030407070803060408--


--===============0903558517==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

_______________________________________________
TME10 mailing list
[email protected]
Unsubscribe:[email protected]

--===============0903558517==--