Quantcast
Viewing all articles
Browse latest Browse all 20019

Re: Interface utilization and CPU utilization in the same chart

Hi,

 

in NPM 10.6 you can use Custom Chart resource, which is available on report. So you have to create report with custom chart resource.

 

1)  Goto manage reports page and click on 'Create New Report'

2) In Add Content dialog select 'Custom Chart'

3) In Selection Method choose 'Advanced Data Base Query (SQL, SWQL)'

4) Write your SWQL query. I created example

 

SELECT ID, CAPTION, DATETIME, CPU_UTIL, INTERFACE_UTIL

FROM

(

SELECT NodeID AS ID, N.Node.Caption AS CAPTION, DateTime, AvgLoad AS CPU_UTIL, NULL AS INTERFACE_UTIL

FROM Orion.CPULoad N

WHERE NodeID = 737 -- set yours nodeId

 

UNION ALL

(

SELECT InterfaceID AS ID, I.Interface.Caption AS CAPTION, DateTime, NULL AS CPU_UTIL, PercentUtil AS INTERFACE_UTIL

FROM Orion.NPM.InterfaceTraffic I

WHERE InterfaceID = 16-- set yours interfaceId

))

 

5) Click to 'Add to layout'. You will be redirected on Chart edit page.

6) Configure chart the same as on screenshots and submit it.

7) Finish report wizard.

 

Image may be NSFW.
Clik here to view.
1.PNG

Image may be NSFW.
Clik here to view.
2.PNG

Image may be NSFW.
Clik here to view.
3.PNG

Image may be NSFW.
Clik here to view.
4.PNG


Viewing all articles
Browse latest Browse all 20019

Trending Articles