[smokeping-users] RRD Command for generating Smokeping graphs via CLI

Ryan Becker rb14060 at gmail.com
Fri Jul 13 09:09:35 CEST 2012


Here's a question - Do the graph titles need to be flexible (not just one
modification) or can it be static (IE not Navigator Graph bot something
else that stays the same all the time)?  Knowing this I might be able to
dig into code a bit and see if I can't find something that would allow it
to be modified.

On Fri, Jul 13, 2012 at 2:47 AM, Borg, Joe, Vodafone Malta <
Joe.Borg at vodafone.com> wrote:

> Hi Don,
> Many thanks for your response and no worries re: being blunt.
>
> Essentially, you are right - only that the only custom item I require is
> the title. In other words, the legend and everything else on the graph
> should remain the same as what's seen in smokeping. Moreover though, I also
> need to 'automate' this graph generation via CLI/ a perl script.
>
> So to do the above, I thought the best way would be to use the rrdtool
> directly from CLI; something like:
>
> /usr/bin/rrdtool graph - --imgformat=PNG --start=-31536000 --end=-300
> --title="customer abc instead of Navigator Graph"................
>
> What I was after was simply the list of all the parameters I might need to
> pass to rrdtool so as to generate a graph that looks exactly like the ones
> generated by smokeping (only with a different title).
>
> I'll go through the links you provided me with as the second one seems
> promising.
>
>
> The alternative to all the above would be to run something like this from
> a linux CLI:
>
> [root at foo /]# wget "
> http://oss.oetiker.ch/smokeping-demo/?displaymode=a;start=2007-08-15%2015:31;end=now;target=Customers.ITIS.otoro
> "
>
> The above is also fine for me and would be much simpler. The only problem
> with it is that I don't know if/how I could modify the graph title of the
> png file generated? Maybe there's some other url parameter I can pass? E.g.
> ?displaymode=a;start=2007-08-15%2015:31;end=now;target=Customers.ITIS.otoro;title=customer.abc
> (<-note added parameter).
>
>
> Thanks for all your help.
>
> Joe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120713/25f1061c/attachment.htm 


More information about the smokeping-users mailing list