oetiker/SmokePing

Display graph directly with custom height/width

falz opened this issue · 1 comments

We're integrating our smokeping graphs to a 3rd party 'customer portal'. To do this, we're directly calling displaymode a:

smokeping.cgi?displaymode=a

Specifically this will properly show a graph:
smokeping.cgi?displaymode=a;title=Smokeping;target=Foo-hostname_myorg_com;start=-1w;end=now

The generated graph generates properly:

smokeping

The source for Graphs.pm seems to reference height/width parameters, but adding them like this doesn't work:

smokeping.cgi?displaymode=a;title=Smokeping;target=Foo-hostname_myorg_com;start=-1w;end=now;height=800;width=400

Curious if an existing way to do this, and if not, a feature request?

This issue has become stale and will be closed automatically within 7 days. Comment on the issue to keep it alive.