[Xymon] graph themes

Kris Springer kspringer at innovateteam.com
Thu Nov 29 16:20:29 CET 2018


Here's the full instructions on how to theme xymon graphs.
https://www.krisspringer.com/posts/xymon-graph-theming.php

Kris Springer


On 11/27/18 7:46 PM, Ralph Mitchell wrote:
> Excellent!  I may do something like that at work. Slowly change the 
> colors over a month or so and see how long it takes anyone to 
> notice...  :)
>
> Ralph Mitchell
>
>
> On Tue, Nov 27, 2018 at 9:08 PM Kris Springer 
> <kspringer at innovateteam.com <mailto:kspringer at innovateteam.com>> wrote:
>
>     Thanks Ralph!  That works perfectly!  And there's no need to
>     restart anything.  The graphs appeared differently with just a web
>     page refresh.
>
>     Kris Springer
>
>
>     On 11/27/18 6:21 PM, Ralph Mitchell wrote:
>>     There may be a better place to put this, but it works for me.  In:
>>
>>          /home/xymon/server/etc/xymonserver.cfg
>>
>>     add this as one long line:
>>
>>     RRDGRAPHOPTS="-c BACK#363636 -c CANVAS#000000 -c SHADEA#CFCFCF -c
>>     SHADEB#CFCFCF -c GRID#222222 -c MGRID#441E1E -c FONT#FFFFFF -c
>>     AXIS#696969 -c FRAME#000000 -c ARROW#FA0016"
>>
>>     Take them out of the graphs.cfg file.  I don't know if it's
>>     strictly necessary to restart Xymon, but I did, and all the
>>     graphs now come up with those colors.  Not sure how to make it
>>     work with individual graphs.
>>
>>     Ralph Mitchell
>>
>>
>>
>>     On Tue, Nov 27, 2018 at 7:33 PM Kris Springer
>>     <kspringer at innovateteam.com <mailto:kspringer at innovateteam.com>>
>>     wrote:
>>
>>         I tried adding the color lines into my graphs.cfg file as
>>         specified in this how-to
>>         https://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html
>>
>>         I edited one section to see what would happen.  It threw an
>>         error that said _*invalid color def format*_
>>
>>         Here's the section of my graphs.cfg that I edited. Anyone
>>         know what the correct formatting is so I can stylize my graphs?
>>
>>         [memory]
>>                 FNPATTERN ^memory.(.+).rrd
>>                 TITLE Memory Utilization
>>                 YAXIS % Used
>>                 DEF:p at RRDIDX@=@RRDFN@:realmempct:AVERAGE
>>                 LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
>>                 -u 100
>>                 -b 1024
>>         *-c BACK#363636**
>>         **      -c CANVAS#000000**
>>         **      -c SHADEA#CFCFCF**
>>         **      -c SHADEB#CFCFCF**
>>         **      -c GRID#222222**
>>         **      -c MGRID#441E1E**
>>         **      -c FONT#FFFFFF**
>>         **      -c AXIS#696969**
>>         **      -c FRAME#000000**
>>         **      -c ARROW#FA0016*
>>                 GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
>>                 GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
>>                 GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
>>                 GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
>>
>>
>>         Kris Springer
>>
>>
>>         On 11/27/18 2:02 PM, Jean-Pierre Pitout [ MTN South Africa ]
>>         wrote:
>>>
>>>         Something similar to Grafana would be awesome! It provides a
>>>         very rich set of graphing options.  (see image below) No
>>>         idea if RRDs can be used though.
>>>
>>>             Reference - http://docs.grafana.org/features/panels/graph/
>>>
>>>
>>>
>>>
>>>         //
>>>
>>>             /________________________________________________
>>>
>>>                 Jean-Pierre Pitout [ MTN South Africa ]
>>>                 Senior Linux Engineer (RHCA)
>>>                 IS Client Server Line-Of-Business Linux
>>>             ISClientServerLine-of-Business_Linux.ZA at mtn.com
>>>             <mailto:ISClientServerLine-of-Business_Linux.ZA at mtn.com>
>>>
>>>
>>>             /
>>>
>>>         ------------------------------------------------------------------------
>>>         *From:* Xymon <xymon-bounces at xymon.com>
>>>         <mailto:xymon-bounces at xymon.com> on behalf of Kris Springer
>>>         <kspringer at innovateteam.com> <mailto:kspringer at innovateteam.com>
>>>         *Sent:* 27 November 2018 19:24
>>>         *To:* Xymon MailingList
>>>         *Subject:* [Xymon] graph themes
>>>         Can anyone advise on how to theme the graphs a bit?  After
>>>         20 years of the light gray rectangles I'd like them to look
>>>         a little more modern.
>>>         -- 
>>>
>>>         Kris Springer
>>>
>>>
>>>
>>>         *"This email is confidential. If you have received it in
>>>         error, you are on notice of its status. Please notify us
>>>         immediately by reply email and then delete this message from
>>>         your system. Please do not copy it or use it for any
>>>         purpose, or disclose its contents to any other person as to
>>>         do so could be a breach of confidentiality. Thank you for
>>>         your co-operation. "*
>>>
>>>
>>>         “The information contained in this message is intended
>>>         solely for the individual to whom it is specifically and
>>>         originally addressed. This message and its contents may
>>>         contain confidential or privileged information from MTN
>>>         Group. If you are not the intended recipient, you are hereby
>>>         notified that any disclosure or distribution, is strictly
>>>         prohibited. If you receive this email in error, please
>>>         notify MTN Group immediately and delete it. MTN Group does
>>>         not accept any liability or responsibility if action is
>>>         taken in reliance on the contents of this information . Note
>>>         that all personal emails are not authorized by MTN Group. ” 
>>
>>         _______________________________________________
>>         Xymon mailing list
>>         Xymon at xymon.com <mailto:Xymon at xymon.com>
>>         http://lists.xymon.com/mailman/listinfo/xymon
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181129/0787d29b/attachment.html>


More information about the Xymon mailing list