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
<user-c2caa0a7a8d5@xymon.invalid <mailto:user-c2caa0a7a8d5@xymon.invalid>>
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
user-ea0bd803d592@xymon.invalid
/
*From:* Xymon <xymon-bounces at xymon.com>
<mailto:xymon-bounces at xymon.com> on behalf of Kris Springer
<user-c2caa0a7a8d5@xymon.invalid> <mailto:user-c2caa0a7a8d5@xymon.invalid>
*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. ”