This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Current CPU utilization

I have to use swisclient to get the current CPU from a multicpu device.  I can't find in the schema where to get that.  I can get min/max/avg but not current from Orion.CPUMultiLoad.  The CPULoad in Orion.Nodes looks like an average of all CPU's.   We are on NPM 10.6

Thanks in advance.

  • I think what you are looking for is in the CPUMultiLoad_Detail, CPUMultiLoad_Hourly, and CPUMultiLoad_Daily tables and it's broken out by the CPU index number.

    I hope this helps!

  • What is the device?  If the device you're polling doesn't have the standard MIBs you may have to create a custom poller.

  • You are correct that the CPULoad in Orion.Nodes is an average of all CPUs.

    To get the current, or current as of the last polling cycle, from Orion.CPUMultiLoad, just select the max TimeStampUTC for each CPUIndex/NodeID combination.  It doesn't matter if you use the min, max, or avg column as for each polling cycle, the value will be the same across all three columns.  Those columns will start to differ when you get into historical hourly and daily data, though.  But, for your case, since you are just looking for current data, it doesn't matter.

  • I think this one is the best... just a matter of handling the query or results to get the most recent. Might be a subquery... or as mentioned above, per CPUIndex/NodeID