Restriction in the view of status map.

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
DanielB
Posts: 77
Joined: Sun Aug 17, 2014 2:17 pm

Restriction in the view of status map.

Post by DanielB »

Hi all!

Is there any way to restrict the status map so that only a certain host groups are seen and avoid that other areas (where there are hosts that do not belong to these groups) appear empty on the map?

Thanks in advance.

Best regards,
Daniel
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Restriction in the view of status map.

Post by abrist »

Are you referring to the "Network Map" in core? If so, you should be able to select a hostgroup from the "drawing layers" form element in the upper right. Then bullet "include" for the layer mode element and then click update. The network map icons will be hidden unless the object matches the selected "Drawing layers" option.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
DanielB
Posts: 77
Joined: Sun Aug 17, 2014 2:17 pm

Re: Restriction in the view of status map.

Post by DanielB »

Hello, Abrist.
abrist wrote:Are you referring to the "Network Map" in core? If so, you should be able to select a hostgroup from the "drawing layers" form element in the upper right. Then bullet "include" for the layer mode element and then click update. The network map icons will be hidden unless the object matches the selected "Drawing layers" option.
Yes, I meant the "Network map" in Nagios Core. Sorry for the confusion. Maybe I stuck with the name "Status map" of some previous version of Nagios.

I had tried the procedure you mention. My question was directed to whether there is any way in which, after applying the filter, instead of hiding the other hosts, only are displayed on the map the areas where there is a visible host.

Thanks for your reply.

Best regards,
Daniel
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Restriction in the view of status map.

Post by abrist »

I may not understand the question correctly, but you can invert the filter with "include/exclude" radio button.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
DanielB
Posts: 77
Joined: Sun Aug 17, 2014 2:17 pm

Re: Restriction in the view of status map.

Post by DanielB »

Hello, abrist.
abrist wrote:I may not understand the question correctly, but you can invert the filter with "include/exclude" radio button.
I'll try explain it of another way. The network map has concentric circumferences. Each pair of circumferences has several divisions limited by pairs of transverse lines. Within each division there is an icon that represents a host. But it may be that some of these divisions is empty if the host is hidden.

My question was directed to if I can filter the hosts such a way that empty divisions are not shown. That is, show in the network map the hosts resulting of the filtrate as if they were the only ones.

I hope this time it has become clearer. Let me know, please.

Best regards,
Daniel
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Restriction in the view of status map.

Post by abrist »

Ah, I should have expected that desire as it is my biggest complaint about the map as well. Honestly, this map will most likely not see any additional changes.
Why?
Because better things are on the way :)
Watch the release notes over the next few core releases . . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
DanielB
Posts: 77
Joined: Sun Aug 17, 2014 2:17 pm

Re: Restriction in the view of status map.

Post by DanielB »

Hi, Andy.
abrist wrote:Ah, I should have expected that desire as it is my biggest complaint about the map as well. Honestly, this map will most likely not see any additional changes.
Why?
Because better things are on the way :)
Watch the release notes over the next few core releases . . .
Oh, I see. This was a question I received from some clients. Since I was not sure, I chose to consult here.

The reason is that there are clients where I'm implementing passive checks and active checks with and intermediary NRPE, and there are networks with 50 or more devices. So when we add up all those hosts on each network, it is all very jumbled together. Though I suppose that in such a scenario, the most important is that all checks works smoothly and to see all the devices orderly (even though these gaps between hosts appears) on the map could become secondary. What do you think about this?

Best regards,
Daniel
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Restriction in the view of status map.

Post by abrist »

DanielB wrote:What do you think about this?
Not a bad idea, though you will have to wait to see what the future of the map looks like.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked