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.

...

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.1.0P1


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

Getting Started

Background information regarding this subject is available in our Official documentation

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> 

And it looks like this:  

...


Screenshot of Nagvis interface with a site enabled named mysite.Image Added


Now you need to alter the link a bit. We have to strip everythin 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>

...


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: Enable Checkmk profiling#NetworkAnalyzewiththeinternetbrowser

Screenshot showing the referrer html source.Image Added


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

...