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 ?
HostGroup wise Network graph
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: HostGroup wise Network graph
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.
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: HostGroup wise Network graph
Thanks for the reply....
I have tried it...... Close to my expectations
Thanks a lot
I have tried it...... Close to my expectations
Thanks a lot
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: HostGroup wise Network graph
Glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: HostGroup wise Network graph
Hi,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.
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 ?