Versions Compared

Key

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

...

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> 


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


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:

...

I would recommend creating this URL using the network analyzer of your browser: Enable Checkmk profilingprofiling#NetworkAnalyzewiththeinternetbrowser

Screenshot showing the referrer html source.Image Modified


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

...