Page 1 of 1
HostGroup wise Network graph
Posted: Fri Dec 02, 2011 2:30 am
by nagiostool
Hi
I am looking to get network with respect to HOST GROUP , i mean to say that when we look at network graph in treee view all the hosts will be shown up under Nagios Process right . I want the graph to be seen in such a way that all windows hosts should be seen under one catogery , linux under one category.
Can anyone help me in achieving it ?
Re: HostGroup wise Network graph
Posted: Fri Dec 02, 2011 3:54 pm
by lmiltchev
There is no such a functionality in Network Status Map. You can try a "workaround", which may or may not work with your setup. If you have a really large setup, it may look rather messy. I tried this on one of my test machines and it looked decent.
Under the Core Config Manager, you can create a "dummy host" and name it as one of your hostgroups, for example "linux-servers". For IP address use your localhost's IP. Use "check_dummy" as your check command; for $ARG1$ use "0" and for $ARG2$ use "dummy host". Fill in the check settings - "max. check attempts", "check period", etc., click "Save", "Apply Configuration".
Set this dummy host as a parent to your hosts, members of your linux-servers hostgroup.
Set a different dummy host for windows-servers, network-devices, websites, etc.
Set all of the parent-child relationships accordingly.
Give it a try. If you don't like how it looks, you can always get rid of the dummy hosts and go back to your old setup.
Hope this helps.
Re: HostGroup wise Network graph
Posted: Mon Dec 05, 2011 3:42 am
by nagiostool
Thanks for the reply....
I have tried it...... Close to my expectations
Thanks a lot
Re: HostGroup wise Network graph
Posted: Mon Dec 05, 2011 11:54 am
by lmiltchev
Glad I could help!
Re: HostGroup wise Network graph
Posted: Sat Dec 10, 2011 8:46 am
by nagiostool
lmiltchev wrote:There is no such a functionality in Network Status Map. You can try a "workaround", which may or may not work with your setup. If you have a really large setup, it may look rather messy. I tried this on one of my test machines and it looked decent.
Under the Core Config Manager, you can create a "dummy host" and name it as one of your hostgroups, for example "linux-servers". For IP address use your localhost's IP. Use "check_dummy" as your check command; for $ARG1$ use "0" and for $ARG2$ use "dummy host". Fill in the check settings - "max. check attempts", "check period", etc., click "Save", "Apply Configuration".
Set this dummy host as a parent to your hosts, members of your linux-servers hostgroup.
Set a different dummy host for windows-servers, network-devices, websites, etc.
Set all of the parent-child relationships accordingly.
Give it a try. If you don't like how it looks, you can always get rid of the dummy hosts and go back to your old setup.
Hope this helps.
Hi,
As per your suggestion i have added the hosts its fine but the problem is its little bit crowded , Is there any way by which the location/co-ordinates of the hosts can be modified as per our requirements ?