NagVis is a visualization add-on for op5 Monitor and it is used to visualize op5 Monitor data, e.g. to display buissness processes like a mail system, network infrastructure or critical production processes.In this chapter each type of map will be described. You will also learn how to complete the most common tasks like how toThe first thing you will see when you open up NagVis in op5 Monitor is a few default demo maps, Automap and Geomap.All settings are administrated through the Configuration Interface . The Configuration Interface can be reached either from the configuration link at the top of the default view or from the edit buttons in the header of all plain maps in the thumbnail view on NagVis first page.As you have seen there are a couple of demo maps in the default configuration. They are included so you have something to start with when you are using NagVis for the first time.When you start to create your own maps you will need to have a background image. The background image can be what ever you want.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
2
3
4 4. Click Upload. Now your background image is ready to use.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
2
3
1
2 Click Create.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
2
Choose what background image you like to use.
This will be the name of the map and used both in URLs and it will be the name of the configuration file in the file system
Since the Add new map window is pretty limited you probably want to change some of the options for your newly created map.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface. Remember to chose what map to edit.
2 The number of options is large. For more information about the options please read more in the official NagVis Manual at:
1
2 Click Ok and the map is deleted.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
2
3
4 Click Ok in the pop-up question to deleted the map.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
2
4
5 Click Ok in the pop-up dialog that shows up and the map will be renamed.Each object type consist of a number of objects that may be used in a map. The table below briefly describes what objects each type includes:
If a host is in a problem state or a service on that host is in a problem state the host will be displayed in a non-green color (red, yellow or grey).As you can see in the table in Map object types on page 78 the type Icon consists of five different objects. All of them are icons that displays status of a certain object in op5 Monitor. They will change color depending of the status of the corresponding object in op5 Monitor.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
2
3 You will now get a mouse pointer looking like a cross:
Click on the map where you like to add your host.
4 A box with the host options is now shown.
The options marked with red text are mandatory. So the host name is the only one you have to change for now.
5 Click Save and your object is saved on the map.A line object is a printed line between two objects. It can symbolize a connection between two icon objects and be associated with a Nagios object.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
2
4 A box with the line options is now shown.
The options marked with red text and line type are mandatory. So the host name, service descriptions and line type the only one you have to change for now.
5
The line type “--%+BW--><--%+BW--” is used for showing both percentage and BandWith. This line does not work with the standard traffic check.
6 Click Save and your object is saved on the map.
Note that the percentage is not viewable in configuration mode.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
3 Click Delete
4 Select OK in the pop-up dialog and the object is removed.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
3 Click Modify and the object option box is shown.When you take a look at the Automap for the first time you will see the complete tree, including all your hosts. If you only like to see one part of the tree you have to change the following configuration setting:As you can see here the monitor host is marked with a line around it. That mark indicates that monitor is set to defaultroot and all of its children are displayed.If you set the host fw01 as defaultroot in Nagvis the automap only display fw01 and it’s children (www.example.net and www.op5.com). The picture below shows how it would look like:This is done when you have one of the maps in Edit mode. There is no Edit mode on the automap so these steps have to be done on another map.
1 Follow the instructions in Main configuration interface on page 69 about how to open up the Configuration Interface.
2
3
4 Click Save and the new setting has been saved.The Rotation pools are just sets of NagVis maps that are used to rotate between. So you can open up a rotate pool to have your maps shown for a certain time and then the rotate function will switch to the next map in the pool.There is no GUI to use for administration of the rotate pools. You have to edit the nagvis.ini.php file that is located here:To add a new rotation pool you have to edit nagvis.ini.php. Look in the file for the following section:
2 2. Open up nagvis.ini.php in your favorite editor.
3 3. Go down to the ”Rotation pool definitions“ and add the following lines:
[rotation_demo]
rotationid="demo"
maps="demo,Demo2:demo2"
interval=15
The table below describes the options shown above:
NAME is the displayed name of this rotation pool on NagVis default page. NAME is the ID of this rotation pool, need to be the same as NAME in [rotation_NAME]. The Maps is a label which is being displayed in the index pages rotation list. 15 is the rotation time in seconds between the maps.