how im can create a second address and show only few hosts?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
almirf
Posts: 31
Joined: Tue Apr 29, 2014 1:23 pm

how im can create a second address and show only few hosts?

Post by almirf »

Dear Friends

im copy the folder nagmap to nagmap2 and create a sescond address called nagmap2 ... now how im can show only a few hosts in the new folder called nagmap2 ?

obs : is possible to create groups and separate hosts into groups?

Thanks
Almir
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: how im can create a second address and show only few hos

Post by tmcdonald »

What is it you are trying to accomplish? I am not sure why you are copying the nagmap folder.
Former Nagios employee
almirf
Posts: 31
Joined: Tue Apr 29, 2014 1:23 pm

Re: how im can create a second address and show only few hos

Post by almirf »

Dear Friend

im copy because im want a site with all hosts and another site with few hosts
and in the second site im want to keep only sites of my city
is possible?
tmcdonald wrote:What is it you are trying to accomplish? I am not sure why you are copying the nagmap folder.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: how im can create a second address and show only few hos

Post by tmcdonald »

I'm not sure nagmap works that way. From browsing the source code it seems that any hosts with the lat+long in their notes will be mapped, and making changes to which are shown would require editing the PHP source.
Former Nagios employee
Locked