[icinga-users] host_name and availability reports
soosthoek at nieuwland.nl
Thu Dec 20 11:24:13 CET 2012
On 12/20/2012 10:13 AM, Michael Friedrich wrote:
> On 20.12.2012 10:00, Simon Oosthoek wrote:
>> Recently I was confronted by the problem in our nagios server that the
>> long term statistics (pnp4nagios graphics) are fully dependent on the
>> host_name. If I change the host_name (and I did!) the previously
>> recorded data was inaccessible from the WUI.
>> Does icinga have this same problem?
> pnp4nagios got the problem, not icinga itsself - it just passes the
> information it gets directly as perfdata to pnp4nagios. when looking at
> the gui, it fetches the data store presented via pnp4nagios itsself.
I see, but I also see the same effect in the nagios Availability report.
This only shows the availability since the change in host_name...
(admittedly, I'm running 3.0.5 and perhaps this is different in icinga,
I'm trying to learn icinga by way of our old nagios ;-))
> when initially defining a host->service relation, this should chosen
> wisely and unique. changes to those are not expected and not the normal
> case - so the manual procedure of moving the stored rrd and xml files of
> pnp4nagios need to be done manually. if you require some sort of
> automated detection of changed host/service names, you need to make sure
> that a. something diffs old vs new config (core doesn't do that) and b.
> pnp4nagios gets aware of thesechanges (doesn't get that now, just plain
> new information).
This wasn't very clear to me from the documentation (that everything is
identified by the host_name). It would be nice if there was a script
that could rename hosts without losing the history, but I guess it
entails a lot of modifications (potentially, even altering the archive
logs is required?).
But it's better to setup the configuration with well chosen host_name
More information about the icinga-users