Sign in to follow this  
Followers 0
liveevil

Summary charts report from HP Performance Manager

4 posts in this topic

#1 ·  Posted (edited)

Hi friends,

I needed generate summary report from HP Performance Manager 8.x (I don't know if it works with older version, you can try) on all nodes in node bank, 4 metrics - CPU UTIL, MEM UTIL, PAKETS IN, PAKETS OUT. Output is in one HTML file, ready for printing.

How it works:

1. with html query downloads data from HP PM to "tsv" file for a specific node

2. sends data to Excel

3. generates chart and saves it to the picture *.png (for every metric for one node - now 4, can expand)

4. generates a html chart report

Script has GUI with these functions:

- start report

- stop report (break)

- exit GUI and show html report

- counts status (bar)

- counts status of remains charts

If you need some customization then read VB Help in Excel, PerformanceManager8.1_AdminGuide.pdf (HP web).

Styles and format of a charts are manualy configured in code.

Capacity reports (forecast) not prepared yet, maybe sometimes, I'm too lazy ;)

Requirements:

- HP Performance server as the source of a performance data, Excel

- set hostname and port for the HP PM

- text file with nodes (there are in HP PM) in one column: nodes_rpt.txt

In the code are some czech notes, it's only for debug, can translate via google but the same notes are in English at the status on GUI 8).

Sorry for my english and Happy reports!

Edited by liveevil

Share this post


Link to post
Share on other sites



Hi again,

I prepared some pictures for your better illustration. See the Attachments.

When you start the script:

When you Run report:

When you stoped running:

When the report finished after stopping:

liveevil

Share this post


Link to post
Share on other sites

Hi friends,

I needed generate summary report from HP Performance Manager 8.x (I don't know if it works with older version, you can try) on all nodes in node bank, 4 metrics - CPU UTIL, MEM UTIL, PAKETS IN, PAKETS OUT. Output is in one HTML file, ready for printing.

How it works:

1. with html query downloads data from HP PM to "tsv" file for a specific node

2. sends data to Excel

3. generates chart and saves it to the picture *.png (for every metric for one node - now 4, can expand)

4. generates a html chart report

Script has GUI with these functions:

- start report

- stop report (break)

- exit GUI and show html report

- counts status (bar)

- counts status of remains charts

If you need some customization then read VB Help in Excel, PerformanceManager8.1_AdminGuide.pdf (HP web).

Styles and format of a charts are manualy configured in code.

Capacity reports (forecast) not prepared yet, maybe sometimes, I'm too lazy :oops:

Requirements:

- HP Performance server as the source of a performance data, Excel

- set hostname and port for the HP PM

- text file with nodes (there are in HP PM) in one column: nodes_rpt.txt

In the code are some czech notes, it's only for debug, can translate via google but the same notes are in English at the status on GUI 8).

Sorry for my english and Happy reports!

I realise it's been a while but I'll ask anyway.

Any chance you'd be able to attach the code here, I need to pull out some data repeatedly out of HP PM and can't find any examples.

Much appreciated

Share this post


Link to post
Share on other sites

I realise it's been a while but I'll ask anyway.

Any chance you'd be able to attach the code here, I need to pull out some data repeatedly out of HP PM and can't find any examples.

Much appreciated

liveevil hasn't been back since November of 2010, I don't think you'll see much from him/her. Better to open a new thread explaining what you need, what you've tried, and what's not working for you.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0