I don't know if this has been answered before because I don't exactly know how to ask it but....
Is there a way to set the default expansion of the circular balloon status map? We have a number of parent-child relationships setup and I love the circular balloon map, but I would like to have all the children collapsed by default except "Nagios Processes" and the first level of the ring. It makes it easier to find things on it, in my opinion.
If not, no biggie but I had to ask.
T.
4.2.0 statusmap question
Re: 4.2.0 statusmap question
Under /usr/local/nagios/etc/cgi.cfg:
See if altering those values (then restarting the nagios service) gives you the desired effect.
Code: Select all
# DEFAULT STATUSMAP LAYOUT METHOD
# This option allows you to specify the default layout method
# the statusmap CGI should use for drawing hosts. If you do
# not use this option, the default is to use user-defined
# coordinates. Valid options are as follows:
# 0 = User-defined coordinates
# 1 = Depth layers
# 2 = Collapsed tree
# 3 = Balanced tree
# 4 = Circular
# 5 = Circular (Marked Up)
default_statusmap_layout=5
# DEFAULT STATUSWRL LAYOUT METHOD
# This option allows you to specify the default layout method
# the statuswrl (VRML) CGI should use for drawing hosts. If you
# do not use this option, the default is to use user-defined
# coordinates. Valid options are as follows:
# 0 = User-defined coordinates
# 2 = Collapsed tree
# 3 = Balanced tree
# 4 = Circular
default_statuswrl_layout=4
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: 4.2.0 statusmap question
I will look at that tomorrow, but from what I have read, that is for the old map method, not the new one.
Also, I am fine with the default layout, just wondering if I can have it start collapsed somewhat, that's all.
T.
Also, I am fine with the default layout, just wondering if I can have it start collapsed somewhat, that's all.
T.
Re: 4.2.0 statusmap question
Ah, I misunderstood the original problem. My mistake 
There isn't much on the GUI/Configuration end of things that allows you to alter the default state of the map. The best way to get things implemented in nagios core is to raise an issue on the github page:
https://github.com/NagiosEnterprises/nagioscore
I'm not an expert on d3.js, but that seems like an easy enough feature to implement.
There isn't much on the GUI/Configuration end of things that allows you to alter the default state of the map. The best way to get things implemented in nagios core is to raise an issue on the github page:
https://github.com/NagiosEnterprises/nagioscore
I'm not an expert on d3.js, but that seems like an easy enough feature to implement.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: 4.2.0 statusmap question
kk, thanks for the input. I'll send a feature request soon.
T.
T.
Re: 4.2.0 statusmap question
Is it alright if we close this thread?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/