Versions Compared

Key

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


Info
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.

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-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>


Nagvis on a wall-mounted TV

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 using the network analyzer of your browser: Checkmk profiling




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

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


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("checkmk","nagvis","maps") and type = "page" and space = "KB"
labelsnagvis maps checkmk

Page Properties
hiddentrue


Related issues