Xymon Mailing List Archive search

cpu utilization graph under cpu column

2 messages in this thread

list Deepak Deore · Fri, 14 Jun 2013 11:13:50 +0530 ·
We get the cpu load graph but how can we add cpu utilization graph as well
under cpu column ?

We get cpu utilization grpah from Metrics report but i need to add it into
cpu column so there will be 2 graphs under cpu, i.e. 1.cpu load 2.cpu
utilization
list Jeremy Laidman · Fri, 14 Jun 2013 19:13:28 +1000 ·
quoted from Deepak Deore
On 14 June 2013 15:43, deepak deore <user-7b03b2a1ee70@xymon.invalid> wrote:
We get the cpu load graph but how can we add cpu utilization graph as well
under cpu column ?
So you want both [la] and [la1] to show for the "cpu" test.  Not possible
as far as I know.

You can add both graphs to the trends page by specifying both in TRENDS in
hosts.cfg.  For example:

10.1.2.3 name.of.host # conn smtp TRENDS:*,cpu:la|la1

This tells Xymon to show not only the [la] graph for CPU, but the [la1]
graph as well - on the trends page.  I think you specify this as "cpu", but
perhaps "la" instead - not sure.

You can change what graph displays on the cpu page by changing the
definition in graphs.cfg, perhaps by swapping the names [la] and [la1].

If you want both load average and utilisation on the same graph, you can
define a new graph that contains both the load average and the utilisation
on the same graph.  I think the [vmstat2] graph definition does this.

So for example, you could rename [la] as [laold] and rename or copy
[vmstat2] as [la].

Cheers
Jeremy