[smokeping-users] smokeping styled graphs from command line
Rodney Machado
rodmachado at yahoo.com
Sun Nov 27 05:31:45 CET 2011
HI Tom,
I will give a try, it seems that indeed I can extract the right sintax from that error output.
Now the answer to the why question. The thing here is that I want to have smokeping type of graphs available within Cacti (http://www.cacti.net). 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 to the original smokeping so I decided to write a graph template for Cacti that can produce something more similar to smokeping.
Rgds,
--RM
________________________________
From: Tom Throckmorton <throck+smokeping at gmail.com>
To: Rodney Machado <rodmachado at yahoo.com>
Cc: Darren Murphy <darren at victoriajd.com>; "smokeping-users at lists.oetiker.ch" <smokeping-users at lists.oetiker.ch>
Sent: Saturday, November 26, 2011 9:33 PM
Subject: Re: [smokeping-users] smokeping styled graphs from command line
On 11/24/11 2:28 PM, Rodney Machado wrote:
> Hi Darren,
>
> Thanks for you answer, I'm very familiar in generating rrd graphs
> (atached a sample), but I'm having hard time creating the same look
> and feel of graphs that smokeping can generate, I'm taking about the
> smoke in particular. I got the rrd files from my smokeping
> installation, but after many tries and retries I'm about to give up.
>
> So, I'm wondering if someone knows the right syntax for generating
> that same look from the command line.
Hello Rodney;
I've found (by accident) that you can trick smokeping.cgi into dumping
the graph invocation by passing it an incorrect slave parameter, e.g. on
the demo site, hitting this URL:
http://oss.oetiker.ch/smokeping-demo/?target=Customers.OP.johan~otoro
...will throw an error that includes the all of the RRDs::graph commands
that would have been used to generate the images. I'm not sure offhand
how compatible the syntax is with rrdgraph directly, but it should give
you a general idea of what's happening under the hood.
I'm curious as to why you want to create the graphs manually; are you
aware that you can generate the graphs on the command line by invoking
smokeping in static mode (using --static, naturally)?
-tt
> ________________________________
> From: Darren Murphy <darren at victoriajd.com>
> To: Rodney Machado <rodmachado at yahoo.com>
> Cc: "smokeping-users at lists.oetiker.ch" <smokeping-users at lists.oetiker.ch>
> Sent: Thursday, November 24, 2011 1:41 PM
> Subject: Re: [smokeping-users] smokeping styled graphs from command line
>
> Hi Rodney,
>
> The RRDTool docs have a very good tutorial, that includes a section on
> generating graphs.
> See http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html
>
> That would probably be the best place to start.
>
> You'll also find the rrdtool graph manual at
> http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html
>
> And there are also some good examples at
> http://oss.oetiker.ch/rrdtool/doc/rrdgraph_examples.en.html
>
> cheers,
> Darren
>
> On 24 November 2011 02:26, Rodney Machado <rodmachado at yahoo.com> wrote:
>> Hi,
>> I have been using smokeping for a while, now I'm trying to create smokeping
>> styled graphs directly from the ".rrd" files using rrdtool graph command,
>> but untill now I have not been able to figure it out.
>> Does anyone have an idea what the syntax should be?
>> best regards,
>> --RM
>>
>>
>>
>> _______________________________________________
>> smokeping-users mailing list
>> smokeping-users at lists.oetiker.ch
>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>>
>>
>>
>>
>> This body part will be downloaded on demand.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20111126/707dd074/attachment-0001.htm
More information about the smokeping-users
mailing list