<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> </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> </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> </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 <throck+smokeping@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Rodney Machado <rodmachado@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Darren Murphy <darren@victoriajd.com>; "smokeping-users@lists.oetiker.ch" <smokeping-users@lists.oetiker.ch> <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>> Hi Darren,<br>> <br>> Thanks for you answer, I'm very familiar in generating rrd graphs<br>> (atached a sample), but I'm having hard time creating the same look<br>> and feel of graphs that smokeping can generate, I'm taking about the<br>> smoke in particular. I got the rrd files from my smokeping<br>> installation, but after many tries and retries I'm about to give up.<br>> <br>> So, I'm wondering if someone knows the right syntax for generating<br>> 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. 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>> ________________________________<br>> From: Darren Murphy <<a href="mailto:darren@victoriajd.com" ymailto="mailto:darren@victoriajd.com">darren@victoriajd.com</a>><br>> To: Rodney Machado <<a href="mailto:rodmachado@yahoo.com" ymailto="mailto:rodmachado@yahoo.com">rodmachado@yahoo.com</a>> <br>> Cc: "<a
href="mailto:smokeping-users@lists.oetiker.ch" ymailto="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>" <<a href="mailto:smokeping-users@lists.oetiker.ch" ymailto="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>> <br>> Sent: Thursday, November 24, 2011 1:41 PM<br>> Subject: Re: [smokeping-users] smokeping styled graphs from command line<br>> <br>> Hi Rodney,<br>> <br>> The RRDTool docs have a very good tutorial, that includes a section on<br>> generating graphs.<br>> 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>> <br>> That would probably be the best place to start.<br>> <br>> You'll also find the rrdtool graph manual at<br>> <a href="http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html"
target="_blank">http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html</a><br>> <br>> And there are also some good examples at<br>> <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>> <br>> cheers,<br>> Darren<br>> <br>> On 24 November 2011 02:26, Rodney Machado <<a href="mailto:rodmachado@yahoo.com" ymailto="mailto:rodmachado@yahoo.com">rodmachado@yahoo.com</a>> wrote:<br>>> Hi,<br>>> I have been using smokeping for a while, now I'm trying to create smokeping<br>>> styled graphs directly from the ".rrd" files using rrdtool graph command,<br>>> but untill now I have not been able to figure it out.<br>>> Does anyone have an idea what the syntax should be?<br>>> best regards,<br>>> --RM<br>>><br>>><br>>><br>>>
_______________________________________________<br>>> smokeping-users mailing list<br>>> <a href="mailto:smokeping-users@lists.oetiker.ch" ymailto="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>>> <a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>>><br>>><br>>><br>>><br>>> This body part will be downloaded on demand.<br><br><br><br> </div> </div> </div></body></html>