Nagios Process Hypermap

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Process Hypermap

Post by tmcdonald »

Did you happen to delete then re-add the localhost and its services at any point?
Former Nagios employee
lance.peterson
Posts: 64
Joined: Wed Aug 05, 2015 11:10 am

Re: Nagios Process Hypermap

Post by lance.peterson »

Not that I'm aware of. I do know that 172.16.100.10 was the first item that was added to Nagios. After I added the other switch I switched the localhost to the correct switch. So I can't switch where the Nagios Process parents to?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Process Hypermap

Post by tmcdonald »

lance.peterson wrote:So I can't switch where the Nagios Process parents to?
That's what we are trying to figure out. There is not a config option that I know of to set this.
lance.peterson wrote:Not that I'm aware of. I do know that 172.16.100.10 was the first item that was added to Nagios. After I added the other switch I switched the localhost to the correct switch.
Not quite sure what you mean with the bolded portion. Do you mean you overwrote the localhost config to that of the new switch, or that you made the new switch a parent of localhost?

I am thinking this has to do with object IDs. Can you go to the CCM, Hosts section, then for each of the switches and localhost, tell us what the ID is? It will be on the far right.
Former Nagios employee
lance.peterson
Posts: 64
Joined: Wed Aug 05, 2015 11:10 am

Re: Nagios Process Hypermap

Post by lance.peterson »

lance.peterson wrote:Not that I'm aware of. I do know that 172.16.100.10 was the first item that was added to Nagios. After I added the other switch I switched the localhost to the correct switch.
Not quite sure what you mean with the bolded portion. Do you mean you overwrote the localhost config to that of the new switch, or that you made the new switch a parent of localhost?

What I mean is when I first started I didn't have 172.16.100.11 in Nagios yet. Once I brought that switch online I changed the parent for "localhost" to 172.16.100.11. 172.16.100.10 was the very first item I added to Nagios.


I am thinking this has to do with object IDs. Can you go to the CCM, Hosts section, then for each of the switches and localhost, tell us what the ID is? It will be on the far right.[/quote]

Local host ID:1
172.16.100.10 ID: 5
172.16.100.11 ID: 34
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Process Hypermap

Post by lmiltchev »

The "Nagios Process" is placed on the map for visualization purposes only. It doesn't really matter if it is directly connected to localhost or not. You can look at it as a "sudo-parent" of all hosts that don't have parents. Once you assign parents to these hosts , they become "children" and are no longer connected DIRECTLY to the "Nagios Process". That's what happened to localhost.

I would like to reiterate:

1. "Nagios Process" still monitors ALL of the hosts on the map - directly or indirectly. Again, its presence is for visualization purposes only as it shows which hosts are on the top of the tree (in the hierarchy).

2. Even though, localhost is where nagios is running, it's just another host that is monitored. It could be named "localhost" or it could be named with an IP address... It doesn't really matter. If it has no parent, it would be connected to the "Nagios Process" directly. It it has a parent, it would be connected to the "Nagios Process" indirectly (via the parent). It is still monitored by nagios either way.

The "indirect" connections are NOT displayed on the map as it would become unreadable.

I hope this makes sense.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked