Xymon Mailing List Archive search

how to override default graph

list Jeremy Laidman
Tue, 20 Nov 2012 11:19:23 +1100
Message-Id: <user-f5818dd1a652@xymon.invalid>

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