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

John Alvord <jalvord-r/[email protected]> Fri, 8 Nov 2013 20:15:08 -0800
Newsgroups gmane.comp.sysutils.tivoli.general
Message-ID <OF14E6F7E0.B7C22D91-ON88257C1E.0016AA17-88257C1E.00175C47__6534.41950348697$1383970537$gmane$org@us.ibm.com>
This is a multipart message in MIME format.
--===============1537533023==
Content-Type: multipart/alternative;
	boundary="=_alternative 00175C4788257C1E_="

This is a multipart message in MIME format.
--=_alternative 00175C4788257C1E_=
Content-Type: text/plain; charset="US-ASCII"

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]

Cloud & Smarter Infrastructure
IBM Support Portal
Open a New Service Request
Update your PMR via Email
Escalate your PMR
My Blog: Wonderful World of Situations
Secure upload to ECUREP







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]


--=_alternative 00175C4788257C1E_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">I can see a way as a do it using a Perl/SOAP.
You could grab this example</font>
<br>
<br><font size=2 face="sans-serif">Sitworld: ITM Agent Health Survey</font>
<br><a href="https://www.ibm.com/developerworks/community/blogs/jalvord/entry/sitworld_itm_zombie_survey?lang=en"><font size=2 face="sans-serif">https://www.ibm.com/developerworks/community/blogs/jalvord/entry/sitworld_itm_zombie_survey?lang=en</font></a>
<br><font size=2 face="sans-serif">&nbsp;</font>
<br><font size=2 face="sans-serif">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 size=2 face="sans-serif">Maybe there is a way to do a customer
TEP workspace view... but that is a display only report</font>
<br>
<br><font size=2 face="sans-serif">[Advertising - I have several customers
using the health survey in production to good effect.]</font>
<br><font size=3><br>
Regards, <br>
______________________________________________</font>
<table width=433 style="border-collapse:collapse;">
<tr height=8>
<td width=433 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1><br>
</font>
<table width=433 style="border-collapse:collapse;">
<tr height=8>
<td width=221 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="Arial"><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 size=1 color=blue face="Arial"><u><br>
</u></font><a href=mailto:jalvord-r/[email protected]><font size=1 color=blue face="Arial"><u>jalvord-r/[email protected]</u></font></a><font size=3><br>
</font><font size=1 color=blue face="Arial"><b><u><br>
</u></b></font><a href=http://www.ibm.com/software/tivoli/><font size=1 color=blue face="Arial"><b><u>Cloud
&amp; Smarter Infrastructure</u></b></font></a>
<td width=212 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><a href=https://www.ibm.com/support/><font size=1 color=blue face="Arial"><u>IBM
Support Portal</u></font></a><font size=1 color=blue face="Arial"><u><br>
</u></font><a href=http://www.ibm.com/support/entry/portal/Open_service_request/><font size=1 color=blue face="Arial"><u>Open
a New Service Request</u></font></a><font size=1 color=blue face="Arial"><u><br>
</u></font><a href="https://www-304.ibm.com/jct05001c/de/support/ecurep/send_email.html#naming"><font size=1 color=blue face="Arial"><u>Update
your PMR via Email</u></font></a><font size=1 color=blue face="Arial"><u><br>
</u></font><a href="http://www-304.ibm.com/support/customercare/sas/f/handbook/getsupport.html#9"><font size=1 color=blue face="Arial"><u>Escalate
your PMR</u></font></a><font size=1 color=blue face="Arial"><u><br>
</u></font><a href=https://www.ibm.com/developerworks/mydeveloperworks/blogs/jalvord><font size=1 color=blue face="Arial"><u>My
Blog: Wonderful World of Situations</u></font></a><font size=1 color=blue face="Arial"><u><br>
</u></font><a href=https://www.ecurep.ibm.com/app/upload><font size=1 color=blue face="Arial"><u>Secure
upload to ECUREP</u></font></a>
<p><a href=https://www.facebook.com/IBMTivolisupport></a><a href=https://twitter.com/TivoliSupport></a><a href=https://www.ibm.com/developerworks/servicemanagement/index.html></a></table>
<br>
<tr height=8>
<td width=433 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><a href=http://www.ibm.com/software/tivoli// target=_new></a></table>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">David Distel &lt;[email protected]&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;Discussion list
for Tivoli product and Tivoli Ready products.&quot; &lt;[email protected]&gt;,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">11/08/2013 08:41 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[TME10] Way
to collect &quot;current&quot; CPU utilization for all servers?</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[email protected]</font>
<br>
<hr 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>
[email protected]<br>
Unsubscribe:[email protected]<br>
</font></tt>
<br>
--=_alternative 00175C4788257C1E_=--


--===============1537533023==
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]

--===============1537533023==--