[Xymon] Own RRD graph

Hultström Jonas jonas.hultstrom at scania.com
Wed Apr 24 09:33:16 CEST 2019


Hi,
The "star" did it 😊

Not sure what the 3D came from, maybe cut/paste/mail...

Thanks for your help!

Jonas

-----Ursprungligt meddelande-----
Från: Xymon <xymon-bounces at xymon.com> För Michael T Pins
Skickat: den 23 april 2019 17:42
Till: xymon at xymon.com
Ämne: Re: [Xymon] Own RRD graph

jonas.hultstrom writes:

>I try to create a custom graph in xymon.
>I have  process which returns lines like:
>server1: 8 processes
>.
>serverX: 4 processes

>There are different numbers of line for different hosts.
>I want to have these numbers in a graph, so firstly I defined in 
>xymonserve=
>r.cfg:
>TEST2RRD=3D..., sapprocs=3Dncv"
>SPLITNCV_sapprocs=3D"server:GAUGE"

I assume the "=3D" is something coming from your mail reader.  It should obviously be "=", not "=3D".

The problem is that you are sending "server1", "server2", etc. but you are telling RRD to only import "server" as type GAUGE, which means everything else is type DERIVE.  What you actually want is:

SPLITNCV_sapprocs="*:GAUGE"

Which will store all datasets from sapprocs as type GAUGE.
See the xymond_rrd manpage for details.

_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon


More information about the Xymon mailing list