Xymon Mailing List Archive search

how to override default graph

list Olivier Audry
Tue, 20 Nov 2012 07:52:06 +0100
Message-Id: <user-e77f41ccdc2c@xymon.invalid>

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

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