I'm running nagios core and I have set the dependevies and partents relationship for my host.
but still when I click on the Map link, I see all the host at the same hierarchical level.
what should I be doing in order to see the layout of my Network on the Map link ?
thank you in advance
how to I get Map in core
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: how to I get Map in core
Have you restarted the core engine since making the config changes? Could you provide some sample configs of what you have done for relationships?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
sciencedicas
- Posts: 15
- Joined: Tue Dec 06, 2011 9:28 am
Re: how to I get Map in core
yes I did restart the service with " service nagios restart"
as for the configuration, what I did was create the parent relationship.
define host{
use basic-host ; Inherit default values from a template
host_name SW1 ; The name we're giving to this switch
alias switch located in the Telco room ; A longer name associated with the switch
address 10.100.2.200 ; IP address of the switch
hostgroups switches ; Host groups this switch is associated with
parents SW2
}
I was expecting to see on the MAP SW2---------->SW1
as for the configuration, what I did was create the parent relationship.
define host{
use basic-host ; Inherit default values from a template
host_name SW1 ; The name we're giving to this switch
alias switch located in the Telco room ; A longer name associated with the switch
address 10.100.2.200 ; IP address of the switch
hostgroups switches ; Host groups this switch is associated with
parents SW2
}
I was expecting to see on the MAP SW2---------->SW1
Re: how to I get Map in core
What is the layout method that you have selected? Try changing the layout method to check if you will be able to see more layers.
Be sure to check out our Knowledgebase for helpful articles and solutions!