Hi Ryan,
It needs to be flexible I'm afraid as these would be per client/customer graphs.

Thanks,

Joe

From: Ryan Becker [mailto:rb14...@gmail.com]
Sent: 13 July 2012 09:10
To: Borg, Joe, Vodafone Malta
Cc: Don Gould; smokeping-users@lists.oetiker.ch
Subject: Re: [smokeping-users] RRD Command for generating Smokeping graphs via 
CLI

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.b...@vodafone.com<mailto:joe.b...@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@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

-------------------------------------------------------------------------------------
Vodafone
-------------------------------------------------------------------------------------

This email is intended only for the use of individuals to whom it is addressed, 
as it may contain confidential or privileged information. If you are not a 
named addressee, intended recipient, or the person responsible for delivering 
the message to the named addressee, be advised that you have received this 
email in error and that you should not disseminate, distribute, print, copy 
this mail or otherwise divulge its contents. In such instances, please notify 
Vodafone Malta Limited on telephone number +356 99999247 and delete this email 
from your system. Since this transmission was affected via email, Vodafone 
Malta Limited cannot guarantee that it is secure or error-free as information 
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or 
contain viruses. Vodafone Malta Limited does not accept liability for any 
errors or omissions in the contents of this message which arise as a result of 
email transmission.

Save the environment for our children - Print e-mail only when necessary.

3...@bowenvale.co.nz> 
<8ee68463dac6324598519558f66369150c4b4...@voexm17w.internal.vodafone.com> 
<CAAjykhaLXy53tY_00+pw1EqGnqKG4BK=jO8rwnV9pETqAK=p...@mail.gmail.com>
_______________________________________________
smokeping-users mailing list
smokeping-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to