How to set all graph height & width back to default size?

Something silly …

I unintentionally resized a graph while ‘looking’ at graphs … case of a sticky mouse button.
When I hit the pause button, all graphs of all hosts/services in my site were resized to this new size.

I made a guess-timate what the default size used to be, but the proportions feel off.

So the search for the original default size began:

  • Looked if there was a global setting for default size, but couldn’t find one.
  • Logged off and back on, hoping it would default back, but it didn’t.
  • Inspected some sessions / cookies with browser dev tools to see if size got stored there, but it’s not obvious enough for me to see that this is the case. Edit: Logged on with different browser, graphs are messed up there too, so it’s not sessions / cookies.
  • Maybe it’s a user setting, but I only got one user, so unable to see if for other users size is messed up too.

I goofed up on 2.1.0p5.cre … but I assume this can happen in all editions / versions. :laughing:

Anyone knows, got ideas?

I’m on cmk 2.2.0p40 and there the dimensions are stored in the file

~/var/check_mk/web/USERID/graph_size.mk

in the checkmk server’s site directory. The file didn’t exist beforehand and after some arbitrary resizing it was created and contained this tuple:

(50, 10.272727272727272)

Just delete the file.

1 Like

Dirk, you’re my (community) hero!
Thanks!
:upside_down_face:

1 Like