Versions Compared

Key

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

Table of Contents

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 left or right side.

...

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


Code Block
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:  

...

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


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

...


Nagvis on public TV

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

Code Block
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: GUI Debbuging

Info

Image Added

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

Code Block
_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

...