Page 1 of 2
Nagios Process Hypermap
Posted: Fri Aug 28, 2015 9:14 am
by lance.peterson
When looking at my hypermap the Nagios Process is not in the correct location. It should be branched off the "localhost" it is currently branched off the first switch I added. How to I get that set to have a correct parent?
Re: Nagios Process Hypermap
Posted: Fri Aug 28, 2015 12:12 pm
by lmiltchev
Click on the "Nagios Process", so that it will move to the center of the map, and post a screenshot of what you are seeing.
Also, post the configs for localhost and your switch.
CCM->Hosts-><your host>->View Text Config (the diskette icon)
Re: Nagios Process Hypermap
Posted: Fri Aug 28, 2015 3:33 pm
by lance.peterson
Attached is the screenshot
I followed through your directions to the localhost management page and I don't see a View text config there? I have the configuration page?
Re: Nagios Process Hypermap
Posted: Sun Aug 30, 2015 7:09 pm
by Box293
lance.peterson wrote:I followed through your directions to the localhost management page and I don't see a View text config there? I have the configuration page?
Configure Menu > Core Configuration Manager -> Hosts -> <your host> -> View Text Config (the diskette icon)
Re: Nagios Process Hypermap
Posted: Mon Aug 31, 2015 10:33 am
by lance.peterson
So how do I can I change that parent IP address?
###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.3.3
# Date: 2015-08-31 10:30:21
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define host {
host_name localhost
use linux-server
alias localhost
address 127.0.0.1
parents 172.16.100.11
first_notification_delay 0
notifications_enabled 1
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
Re: Nagios Process Hypermap
Posted: Mon Aug 31, 2015 10:34 am
by lance.peterson
Well that is correct, sorry. How do I fix this?
Re: Nagios Process Hypermap
Posted: Mon Aug 31, 2015 1:30 pm
by lmiltchev
Configure Menu > Core Configuration Manager -> Hosts -> localhost -> Manage Parents -> Remove 172.16.100.11 under "Assigned", Close, Save, and Apply Configuration.
Re: Nagios Process Hypermap
Posted: Mon Aug 31, 2015 2:22 pm
by lance.peterson
But the parent of the local host is 172.16.100.11. The Nagios Process Should have a parent of local host not 172.16.100.10.
Re: Nagios Process Hypermap
Posted: Mon Aug 31, 2015 4:43 pm
by lmiltchev
It is a bit confusing as localhost is actually the nagios server and you might expect to see "Nagios Process/localhost" in the center... However, localhost is also a host that nagios is monitoring (monitoring itself). If localhost didn't have parent specified, the "Nagios Process" would be linked directly to it. In your case, "Nagios Process" is still linked to it but through a couple of other hosts (parents). So, nagios is monitoring 172.16.100.10, which is a parent of 172.16.100.11, which is a parent of localhost. This is what is displayed on the map and it is correct.
Re: Nagios Process Hypermap
Posted: Thu Sep 03, 2015 7:45 am
by lance.peterson
So how do I get the Nagios Process to monitor .11 instead of .10? It should be behind .11 not .10?