<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>HI Tom,</span></div><div><span></span>&nbsp;</div><div><span>I will give a try, it seems that indeed I can extract the right sintax from that error output.</span></div><div><span></span>&nbsp;</div><div><span>Now the answer to the why question. The thing here is that I want to have smokeping type of graphs available within Cacti (<a href="http://www.cacti.net">http://www.cacti.net</a>). There have been a couple implementation of SmokepingLike graphs for Cacti, but, for me after reading the code and how the graph magic have been done, the truth is that they are not close enough <var id="yui-ie-cursor"></var>to the original smokeping so I decided to write a graph template for Cacti that can produce something more similar to smokeping.</span></div><div><span></span>&nbsp;</div><div><span>Rgds,<br>--RM</div></span><div><br></div> 
 <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font size="2" face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>  <b><span style="font-weight: bold;">From:</span></b> Tom Throckmorton &lt;throck+smokeping@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Rodney Machado &lt;rodmachado@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> Darren Murphy &lt;darren@victoriajd.com&gt;; "smokeping-users@lists.oetiker.ch" &lt;smokeping-users@lists.oetiker.ch&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, November 26, 2011 9:33 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [smokeping-users] smokeping styled graphs from command
 line<br> </font> <br>On 11/24/11 2:28 PM, Rodney Machado wrote:<br>&gt; Hi Darren,<br>&gt; <br>&gt; Thanks for you answer, I'm very familiar in generating rrd graphs<br>&gt; (atached a sample), but I'm having hard time creating the same look<br>&gt; and feel of graphs that smokeping can generate, I'm taking about the<br>&gt; smoke in particular. I got the rrd files from my smokeping<br>&gt; installation, but after many tries and retries I'm about to give up.<br>&gt; <br>&gt; So, I'm wondering if someone knows the right syntax for generating<br>&gt; that same look from the command line.<br><br>Hello Rodney;<br><br>I've found (by accident) that you can trick smokeping.cgi into dumping<br>the graph invocation by passing it an incorrect slave parameter, e.g. on<br>the demo site, hitting this URL:<br><br><a href="http://oss.oetiker.ch/smokeping-demo/?target=Customers.OP.johan~otoro"
 target="_blank">http://oss.oetiker.ch/smokeping-demo/?target=Customers.OP.johan~otoro</a><br><br>...will throw an error that includes the all of the RRDs::graph commands<br>that would have been used to generate the images.&nbsp; I'm not sure offhand<br>how compatible the syntax is with rrdgraph directly, but it should give<br>you a general idea of what's happening under the hood.<br><br>I'm curious as to why you want to create the graphs manually; are you<br>aware that you can generate the graphs on the command line by invoking<br>smokeping in static mode (using --static, naturally)?<br><br>-tt<br><br><br>&gt; ________________________________<br>&gt;&nbsp; From: Darren Murphy &lt;<a href="mailto:darren@victoriajd.com" ymailto="mailto:darren@victoriajd.com">darren@victoriajd.com</a>&gt;<br>&gt; To: Rodney Machado &lt;<a href="mailto:rodmachado@yahoo.com" ymailto="mailto:rodmachado@yahoo.com">rodmachado@yahoo.com</a>&gt; <br>&gt; Cc: "<a
 href="mailto:smokeping-users@lists.oetiker.ch" ymailto="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>" &lt;<a href="mailto:smokeping-users@lists.oetiker.ch" ymailto="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>&gt; <br>&gt; Sent: Thursday, November 24, 2011 1:41 PM<br>&gt; Subject: Re: [smokeping-users] smokeping styled graphs from command line<br>&gt;&nbsp; <br>&gt; Hi Rodney,<br>&gt; <br>&gt; The RRDTool docs have a very good tutorial, that includes a section on<br>&gt; generating graphs.<br>&gt; See <a href="http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html" target="_blank">http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html</a><br>&gt; <br>&gt; That would probably be the best place to start.<br>&gt; <br>&gt; You'll also find the rrdtool graph manual at<br>&gt; <a href="http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html"
 target="_blank">http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html</a><br>&gt; <br>&gt; And there are also some good examples at<br>&gt; <a href="http://oss.oetiker.ch/rrdtool/doc/rrdgraph_examples.en.html" target="_blank">http://oss.oetiker.ch/rrdtool/doc/rrdgraph_examples.en.html</a><br>&gt; <br>&gt; cheers,<br>&gt; Darren<br>&gt; <br>&gt; On 24 November 2011 02:26, Rodney Machado &lt;<a href="mailto:rodmachado@yahoo.com" ymailto="mailto:rodmachado@yahoo.com">rodmachado@yahoo.com</a>&gt; wrote:<br>&gt;&gt; Hi,<br>&gt;&gt; I have been using smokeping for a while, now I'm trying to create smokeping<br>&gt;&gt; styled graphs directly from the ".rrd" files using rrdtool graph command,<br>&gt;&gt; but untill now I have not been able to figure it out.<br>&gt;&gt; Does anyone have an idea what the syntax should be?<br>&gt;&gt; best regards,<br>&gt;&gt; --RM<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;
 _______________________________________________<br>&gt;&gt; smokeping-users mailing list<br>&gt;&gt; <a href="mailto:smokeping-users@lists.oetiker.ch" ymailto="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>&gt;&gt; <a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; This body part will be downloaded on demand.<br><br><br><br> </div> </div>  </div></body></html>