Xymon Mailing List Archive search

how to override default graph

4 messages in this thread

list Olivier Audry · Fri, 16 Nov 2012 10:51:17 +0100 (CET) ·
hello

I would like to show a different graph (in %) into the cpu probe for a kind of device (network windows and vmware). Is it possible ? If yes how ?

thx for helping

oau
list Olivier Audry · Mon, 19 Nov 2012 12:09:02 +0100 (CET) ·
up ? 

----- Mail original -----
quoted from Olivier Audry
De: "Olivier AUDRY" <user-0dc286edb094@xymon.invalid>
À: "Xymon mailinglist" <xymon at xymon.com>
Envoyé: Vendredi 16 Novembre 2012 10:51:17
Objet: [Xymon] how to override default graph

hello

I would like to show a different graph (in %) into the cpu probe for a kind of device (network windows and vmware). Is it possible ? If yes how ?

thx for helping

oau
list Jeremy Laidman · Tue, 20 Nov 2012 11:19:23 +1100 ·
quoted from Olivier Audry
On 16 November 2012 20:51, Olivier AUDRY <user-0dc286edb094@xymon.invalid> wrote:
hello

I would like to show a different graph (in %) into the cpu probe for a
kind of device (network windows and vmware). Is it possible ? If yes how ?
You might be able to do something like this:

1) Create a new cpu graph in graphs.cfg as required.  The default is
"[la]", so you could start with that if you wanted to.  Let's say you call
it "[la-new]"

2) In the hosts.cfg file, where required, add something like:

  10.1.2.3 name.of.host # ssh testip dns TRENDS:*,la:la-new

I think this means that whenever a "la" graph is required on the trends
page, the "la-new" graph will be used.  This probably won't replace the
graph on the "cpu" page but might be good enough for you.

J
list Olivier Audry · Tue, 20 Nov 2012 07:52:06 +0100 ·
Hello

Thx for the tip but I will hack info the xymon code. I already add the disk cpu and memory for my vmware script i thé same way than ckeckbdd.pl. But my hack ils dirty and don't manage threshold for now.

oau
quoted from Jeremy Laidman

Jeremy Laidman <user-71895fb2e44c@xymon.invalid> a écrit :
On 16 November 2012 20:51, Olivier AUDRY <user-0dc286edb094@xymon.invalid> wrote:
hello

I would like to show a different graph (in %) into the cpu probe for a
kind of device (network windows and vmware). Is it possible ? If yes how ?
You might be able to do something like this:

1) Create a new cpu graph in graphs.cfg as required.  The default is
"[la]", so you could start with that if you wanted to.  Let's say you call
it "[la-new]"

2) In the hosts.cfg file, where required, add something like:

 10.1.2.3 name.of.host # ssh testip dns TRENDS:*,la:la-new

I think this means that whenever a "la" graph is required on the trends
page, the "la-new" graph will be used.  This probably won't replace the
graph on the "cpu" page but might be good enough for you.

J