[Xymon] custom graphs problem
Chris.Morris at rwe.com
Chris.Morris at rwe.com
Mon Mar 26 16:56:18 CEST 2012
Jef,
Look at your garaph definition :-
you have a space in LINE2 > open threads
and you have defined (DEF) threadcount but are trying to graph "open".
HTH,
Chris
________________________________
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com]
On Behalf Of jef.jagers at thomsonreuters.com
Sent: 26 March 2012 15:18
To: xymon at xymon.com
Subject: [Xymon] custom graphs problem
Hi All,
After half a day searching for the problem, why my custom graph
for my test isn't showing properly in xymon, I'm reaching out to you
guys.
I have googled quite a bit but none of the explanations and/or
suggestions (which I all tried) are working for me.
It is probably something stupid I'm missing or doing wrong but
I'm not able to put my finger on it.
Version: Xymon: 4.3.7
Rrd version: rrdtool-1.2.12-13.2
Problem:
I have a custom scripts, that runs about every 5 min, that gives
following output in xymon: (the open threads line shows as a separate
line in the source html)
The number of open threads can vary from 0-500.
_________________________
Hostname - ThreadCount
Mon Mar 26 15:48:05 CEST 2012
open threads : 41
Status unchanged in 4 hours, 35 minutes
Status message received from xx.xxx.xxx.xxx
__________________________
I added the necessary in xymonserver.cfg and it looks like this:
_________________________________
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,
<......more.....>,ThreadCount=ncv, <......more.....>,xymond"
NCV_ThreadCount="openthreads:GAUGE"
GRAPHS="la,disk, <......more.....>,ncv,
<......more.....>,ThreadCount"
________________________________
I added the required to graphs.cfg and it looks like this:
_________________________________
[ThreadCount]
TITLE ThreadsCount Info
YAXIS Threads
DEF:threadcount=ThreadCount.rrd:openthreads:AVERAGE
LINE2:threadcount#0000FF:open
threads
COMMENT:\n
GPRINT:open:LAST:open threads \:
%5.1lf%s (cur)
GPRINT:open:MAX: \: %5.1lf%s
(max)
GPRINT:open:MIN: \: %5.1lf%s
(min)
GPRINT:open:AVERAGE: \: %5.1lf%s
(avg)\n
_________________________________
Below is the upper most part of a rrdtool dump of the rrd file
that gets created succefully. (ThreadCount.rrd):
___________________
<!-- Round Robin Database Dump -->
<rrd>
<version> 0003
</version>
<step> 300
</step> <!-- Seconds -->
<lastupdate>
1332770292 </lastupdate> <!-- 2012-03-26 15:58:12 CEST -->
<ds>
<name> openthreads </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 7.8720000000e+03 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
.....
________________
I tried several stuff to change the output of my script
(open_threads, openthreads), but that changed nothing. (I did restart
xymon numerous times after removing the created rrd files)
Per info: I started with following site:
http://www.xymon.com/xymon/help/howtograph.html
All suggestions are appreciated.
Regards,
Jef
****************************************************************************
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120326/8c292c92/attachment.html>
More information about the Xymon
mailing list