[Check_mk (english)] external Graph PNG graph_image.py image size not working

hello,

i'am just trying to add some check_mk graphs directly into the nagvis map.
i can add the image on the nagvis map via the "container" feature of
nagvis and the url from the checkmk-png file.

now i discovered two problems:
1) i cant inline add the png url as nagvis displays the binary
information of the image instead of the image itself
2) when i add the image via iframe i have to set the size of the png
which is not working

on werks#4733 https://lists.mathias-kettner.de/pipermail/checkmk-commits/2017-May/018787.html
is described:

Again, the human friendly formated request object:

F+:
{
    "specification": ["template", {
        "service_description": "CPU load",
        "site": "mysite",
        "host_name": "myhost"
    }],
    "render_options": {
        "show_legend": false,
        "show_title": false,
        "size": [ 50, 15 ]
    }
}
F-:

when i try to add the render_options with the size, the image size
isn't changing. only the scale of the underlying scala is changing.

did i use the wrong parameters or how can i cahnge the png image from
1000px width to 200px width for example

thx and kind regards,
Stefan

···

_______________________
www.epb.at - Your IT Partner in East Austria