Nagios Map and connecting devices

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
mamies
Posts: 5
Joined: Mon Feb 18, 2013 7:08 pm

Nagios Map and connecting devices

Post by mamies »

Hi All,

I have been playing with Nagios on my network for the last couple of days and am really intrigued by the map feature that is included within it which lets me know which hosts are down etc.

I am having one issue with it tho, when I use the user defined coo-ords option the lines between my devices does not exist anymore. I was hoping to try and create this map the same as my network diagram which it currently looks correct, but doesn't connect the devices. I have included an image to demonstrate.

Thanks,

Image
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Map and connecting devices

Post by lmiltchev »

How close are these hosts from each-other? It's hard to say just by looking at the image. Check what you have in the host definitions:

Code: Select all

2d_coords	x_coord,y_coord
BTW, did you try viewing it in a different browser? ...just in case :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
mamies
Posts: 5
Joined: Mon Feb 18, 2013 7:08 pm

Re: Nagios Map and connecting devices

Post by mamies »

Thanks for the response.

Top left is 150,20 and it needs to connect 180,340 that is just an example. I haven't told it to connect to these because I am not sure on how to do it.

Also I did try another browser :lol:
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Map and connecting devices

Post by lmiltchev »

What version of Nagios Core are you using?
I may be wrong, but it seems to me this may be bug with ver. 3.4.3. I was able to recreate the issue on my 3.4.3 test box. On the other hand, I didn't have any problems with viewing lines in 3.4.1.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mamies
Posts: 5
Joined: Mon Feb 18, 2013 7:08 pm

Re: Nagios Map and connecting devices

Post by mamies »

lmiltchev wrote:What version of Nagios Core are you using?
I may be wrong, but it seems to me this may be bug with ver. 3.4.3. I was able to recreate the issue on my 3.4.3 test box. On the other hand, I didn't have any problems with viewing lines in 3.4.1.
It is version 3.4.4. I am sure that the software can do this with ease (more a me issue then the software). The lines do appear in any of the other options but they all point to the Nagios Process which creates a huge mess and doesn't depict a very good network map.

I have attached an example of what it does with circular

Again, thank you heaps for your help it is much appreciated.
Attachments
statusmap.png
statusmap.png (62.19 KiB) Viewed 2599 times
mamies
Posts: 5
Joined: Mon Feb 18, 2013 7:08 pm

Re: Nagios Map and connecting devices

Post by mamies »

I feel like a little bit of an idiot. Sorry to waste your time lmiltchev but I just figured it out after reading through some more documentation. For some reason I kept skimming over the parent attribute under the host definition.

Again, thankyou for assisting me.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Map and connecting devices

Post by lmiltchev »

I'm glad your problem is resolved!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked