how to override default graph
list Olivier Audry
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
up ? ----- Mail original -----
▸
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
▸
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
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