Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Info

Accessing Nagvis Maps directly

If you have created some Nagvis Maps, you'd probably want to access them without having the Checkmk sidebar visible on either the left or right side.

This is quite easy: 

Table of Contents

Accessing Nagvis Maps directly


When accessing Nagvis inside Checkmk and creating a map, the URL to the map is as follows: 

Code Block
languagebash
themeRDark
http://<host>/<cmksite>/check_mk/index.py?start_url=%2F<cmksite>%2Fnagvis%2Ffrontend%2Fnagvis-js%2Findex.php%3Fmod%3DMap%26act%3Dview%26show%3D<mapname> 

...

Now you need to alter the link a bit. We have to strip everything Checkmk related and transform the URL endcoded -encoded ASCII strings in a human-readable format. The above link would then look like this:

Code Block
languagebash
themeRDark
http://<host>/<sitename>/nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=<mapname>

...

If you want to visualize a Nagvis Map on a wall-mounted TV, you can use this URL:

Code Block
languagebash
themeRDark
http://<host>/<sitename>/check_mk/login.py?_username=<username>&_password=<password>&_login=1&_origtarget=%2F<sitename>%2Fnagvis%2Ffrontend%2Fnagvis-js%2Findex.php%3Fmod%3DMap%26act%3Dview%26show%3D<mapname>

I would recommend creating this url URL using the network analyzer of your browser:   Checkmk profiling

...


Image Added


Between login.py? and &_origtarget, you need to add the following options:

Code Block
languagebash
themeRDark
_username=<username>&_password=<password>&_login=1

...