Page 1 of 1

Statusmap 3.5.1

Posted: Tue Mar 15, 2016 5:31 am
by rumarcin11
I would like to divide the hosts, because now I have that all hosts are podłaczonie to a tree, "N" and I'd like to hosts were Connect PC to the router as konfogurować and the place is set

Re: Statusmap 3.5.1

Posted: Tue Mar 15, 2016 6:06 am
by nozlaf
you need to set the parent (źródło) (Hope that is the correct word) of each host to be the actual parent
so
a typical host may or may not look like this

Code: Select all

define host {
                host_name                             
                alias                                 SERVER1
                address                               SERVER1
                action_url                            /pnp4nagios/graph?host=$HOSTNAME$
                check_command                         check-host-alive
                notification_interval                 15
                notification_options                  d,u,r
                max_check_attempts                    3
                active_checks_enabled                 1
                notifications_enabled                 1
                check_period                          24x7
                notification_period                   workhours
                contact_groups                        Helpdesk
                parents                               router
}
notice the

Code: Select all

                 parents                               router 
that makes the "SERVER1" a child of "router"

and ultimately to make everything work best make localhost (assuming that if what your nagios host is called in nagios) a parent of the router

Re: Statusmap 3.5.1

Posted: Tue Mar 15, 2016 10:07 am
by rkennedy
Thanks @nozlaf!

@rumarcin11 - let us know if that is what you were looking for.

Re: Statusmap 3.5.1

Posted: Wed Mar 16, 2016 5:22 am
by rumarcin11
rkennedy wrote:Thanks @nozlaf!

@rumarcin11 - let us know if that is what you were looking for.
So everything works
Thanks

Re: Statusmap 3.5.1

Posted: Wed Mar 16, 2016 11:35 am
by bwallace
Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.