Hi Michael 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 variables ;-) Cheers /Simon ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users