Statusmap 3.5.1

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
rumarcin11
Posts: 36
Joined: Thu Feb 25, 2016 7:42 am

Statusmap 3.5.1

Post 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
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Statusmap 3.5.1

Post 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
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Statusmap 3.5.1

Post by rkennedy »

Thanks @nozlaf!

@rumarcin11 - let us know if that is what you were looking for.
Former Nagios Employee
rumarcin11
Posts: 36
Joined: Thu Feb 25, 2016 7:42 am

Re: Statusmap 3.5.1

Post by rumarcin11 »

rkennedy wrote:Thanks @nozlaf!

@rumarcin11 - let us know if that is what you were looking for.
So everything works
Thanks
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Statusmap 3.5.1

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked