Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have Nagios installed and I'm working on getting the network map correct. The problem I have is that "Nagios" appears to be in the "internet" when it should be located on the MechNAS server.

enter image description here

What I want is Nagios Process to show up inside the local network. So it should show up at the same layer as MechNAS and development. Where exactly is that configured? I didnt see any place to set that up and it looks now like it's out there on it's own. Documentation and Googling didnt seem to turn up anything either.

share|improve this question

4 Answers 4

up vote 1 down vote accepted

This bugs the buhjeezuz out of me too.

According to the Nagios knowledge base, you can't:

When using one of the auto-layout modes of the statusmap or statuswrl CGIs you cannot hide the Nagios process icon, nor change its location. Its location is automatically determined, so that it is always at the "root" level of the map.

Source

You might want to look into the Nagvis addon for more options for visualization. It is MUCH prettier then status map.

share|improve this answer
    
Yeah, I didnt want/need anything fancy, I just hate it when something visually looks wrong and you cant fix it. :) –  Mech Software Feb 8 '11 at 22:47

Looks like it is not configurable. Which is a shame. Nagios FAQ F0081

share|improve this answer

You can't make "Nagios Process" actually appear on a server, but the graph should be coming out ordered by the parents fields of the hosts. To get this graph to draw the other way around, try making it so that the hosts directly reachable from nagios (MechNAS, gateway and development) have no parents. Then, dsl_gateway would have "gateway" as its "parents" setting, then all the external servers would have dsl_gateway as their parents.

share|improve this answer
    
While that might work it would also make the map just as inaccurate wouldn't it? Nagios is behind the gateway and dsl_gateway which means that if either of those goes down Nagios can only monitor Development and MechNAS, the other servers might be running but Nagios can't see it. I think I'll just have to live with the entire map being wrong or for "Illustrative purposes only". I think the Nagvis is the only suggestion that might work out. –  Mech Software Feb 9 '11 at 14:49
    
@mech: The whole point of the parent mechanism is to allow nagios to tell the difference between a host being down and a host being un-reachable because the network between nagios and the monitored system is down. So in a nagios world, ideally, you put the gatways on nagios and make those the parents of the other things. –  chris Apr 27 '11 at 11:11

It's designed this way as the map is meant to be a graphical representation of the host dependencies.

All hosts have a dependency on the Nagios process so it always appears at the top (or centre) of the map, for instance, in your environment, access to "MechNAS" and "development" from your Nagios process relies on the DSL_Gateway and the Gateway device being "UP" whereas the other devices on your network are directly visible to Nagios (at least that's what your map is saying)

If you want an alternative visualisation, try out NagVis. You can get it to automap (and it looks better than the nagios one IMO) or you can specify your own layout (dependency independent) so you can either have the Nagios process listed or not.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.