[Xymon] Probleme for put a graphe

Chris.Morris at rwe.com Chris.Morris at rwe.com
Fri Jan 25 15:52:19 CET 2013


Also, unless you have only included a small part og the rrdtool dump output, you only have one DS = bytes. There is no bytesread DS!!


________________________________

	From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Martin Ksellmann
	Sent: 25 January 2013 14:05
	To: xymon at xymon.com
	Subject: Re: [Xymon] Probleme for put a graphe
	
	
	Hi,
	
	I don't think that posting the same question to the list twice within 24 hours makes a lot of sense, but when I check your code, I can see that you are mixing the usage of "bytesread" and "bytes_read", which most likely is the issue with this graph.
	
	Regards,
	Martin 
	
	On 25.01.2013 10:05, gmail wrote:
	

		hy 
		
		i have write a script and i try  to establish a graph. 
		
		i add in the hobbitserver.cfg the name of my script like this :
		
		TEST2RRD="couchbase=ncv"
		
		GRAPHS="couchbase"
		
		NCV_couchbase="bytesread:GAUGE,bytes:GAUGE"
		
		
		And in the hobbitgraph.cfg i add 
		
		
		[couchbase]
		        TITLE Couchbase info
		        YAXIS Bytes_read
		        DEF:bytes_read=couchbase.rrd:bytes_read:AVERAGE
		        DEF:bytes=couchbase.rrd:bytes:AVERAGE
		
		        LINE2:bytesread#FF000000:Bytes_read
		        LINE2:bytes#FF66FF:Bytes
		        COMMENT:\n
		        GPRINT:bytes_read:LAST:Bytes_read \: %5.1lf%s (cur)
		        GPRINT:bytes_read:MAX: \: %5.1lf%s (max)
		        GPRINT:bytes_read:MIN: \: %5.1lf%s (min)
		        GPRINT:bytes_read:AVERAGE: \: %5.1lf%s (avg)\n
		
		        GPRINT:bytes:LAST:bytes        \: %3.2lf (cur)
		        GPRINT:bytes:MAX: \: %3.2lf (max)
		        GPRINT:bytes:MIN: \: %3.2lf (min)
		        GPRINT:bytes:AVERAGE: \: %3.2lf (avg)\n
		
		When i execute the command rrdtool dump couchbase.rrd 
		I get my information as you can see below 
		
		 <version>0003</version>
		        <step>300</step> <!-- Seconds -->
		        <lastupdate>1359043008</lastupdate> <!-- 2013-01-24 15:56:48 GMT -->
		
		        <ds>
		                <name> bytes </name>
		                <type> GAUGE </type>
		                <minimal_heartbeat>600</minimal_heartbeat>
		                <min>NaN</min>
		                <max>NaN</max>
		
		                <!-- PDP Status -->
		                <last_ds>119541874</last_ds>
		                <value>0.0000000000e+00</value>
		                <unknown_sec> 108 </unknown_sec>
		        </ds>
		
		
		when i m going to watch in my console i didn't see any graph , just a link for Hourly graph, Daily graph etc...
		i dont understand i missed something ?
		
		
		
		

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



	-- 
	Träumst Du am Tage, erkennst Du vieles,  ! Martin Ksellmann
	      was dem verborgen bleibt,          ! Am Vogelherd 7, 83126 Flintsbach
	            der nur in der Nacht träumt. ! Phone: +49.8034.707254
	                       (Edgar Allan Poe) ! e-mail: martin at ksellmann.de


**************************************************************************** 
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/20130125/3afcb286/attachment.html>


More information about the Xymon mailing list