How to create location map in nagios server?

6,425

The status map in nagos is generated automatically. You have to set a parent host for each host in the define host statement of the host. See an example:

define host{
        use             generic-host          
        host_name       host
        address         1.2.3.4
        parents         other-host
}

It also accepts multiple parents. But notice: there must be also a define host statement for the parent host.

Share:
6,425
Eng. Johor
Author by

Eng. Johor

Updated on September 18, 2022

Comments

  • Eng. Johor
    Eng. Johor over 1 year

    I already complete the installation and configuring process in Nagios server on Ubuntu. Now, I want to create location map or network map in my own nagios server. How I can do it? Please given this solution.

  • muru
    muru over 9 years
    It is possible to define co-ordinates in host definitions. That's what OP is asking about, I think.
  • chaos
    chaos over 9 years
    @muru you can define custom variables, but if you want real maps like this sysadmins.ru/files/nagvis_819.gif you need nagvis.
  • muru
    muru over 9 years
    No need for custom variables. Look at 2d_coords and 3d_coords in nagios.sourceforge.net/docs/nagioscore/4/en/… - they aren't real maps like nagvis, but they are built-in options.