Hi, > On 27 Sep 2016, at 14:03, Kimball, Tim <tim.kimb...@fisglobal.com> wrote: > > I'm in the process of planning an Icinga 1.x to Icinga 2 migration (2.5.4 in > this case). Unfortunately the docs and wiki are not helping 100% with our > particular setup, as we're also (slowly) migrating from source to packages. > Among other things. :) > > My concerns are below. Any help/pointers etc would be appreciated. > > > 1) For now, we'd like to use the same plugins from our Icinga 1.x install in > Icinga 2.x; Part of that is due to our compiling a custom nrpe with a larger > output buffer (yes, we'll fix that later - probably by switching to the new > Agent/Client for Linux hosts). > > From the install notes, it looks like I just have to set PluginDir to > /usr/local/icinga/libexec (our old plugin dir), correct?
Anywhere your plugins live although I would recommend to install them by package, and use the same prefix for your compiled nrpe binary. > > > 2) As part of the migration, we'll need to start on Classic UI and migrate to > Web2 later on (its not fully under my control to hot swap this interface). > There are no notes in the normal install for this, and the wiki only > discusses doing this by source. However, I do see a > 'icinga2-classicui-config' package which may help. The Classic UI served well for several years, and also as first interface when we started developing Icinga 2 more than three years ago. In the meantime lots of things changed, and Icinga Web 2 reached its first stable version. It evolved ever since and is our primary interface which we support with Icinga 2. It is possible to use the Classic UI with Icinga 2 but we do not recommend it. There are certain limitations (creating notification/user objects which are then used as contacts for authorisation in the Classic UI, which is ugly as f*ck, or the command expander which does not work with the dynamically rendered CheckCommands (runtime calculations possible), for example). Therefore we decided to only describe the working supported way of using our primary web interface, Icinga Web 2. > > If we already have Classic setup under 1.x, can we just install this config > package, or will a second 'standalone' compile of Classic (set to /icinga2/ > on apache) be needed first? We would like to keep the Icinga 1.x web > instance intact, in case of rollback. There’s a package which provides just the configuration with changed paths required for the underlying CGI binaries. They’re the same as with Icinga 1.x. The apache configuration serves a different path as well. > > > 3) We run PNP4Nagios in Gearman Mode, with the process_perfdata.pl on a > dedicated host. Bulk Mode / NPCD does not seem to support this configuration > (though I could just be reading the docs wrong). Does anyone have tips on > migrating this so we don't lose the grapher data? Running a distributed setup with masters and satellites, you may just enable the PerfdataWriter feature with a local NPCD daemon on the satellites as well. I guess that’s similar what you’re doing with your current setup, but to be honest I have never looked into mod_gearman in combination with PNP. Still I would recommend to have the performance data only on the master zone whereas your Icinga Web 2 and web interfaces may query and display the data. > > I have no concern with moving the graphs back to the Icinga Master, but we > eventually want to use the PNP server as part of an active-active cluster > pair with the Master. So moving these files twice would be annoying. We > also don't use the popup integration etc, so if that breaks we don't care > right now. As said, having them on the master is most logical choice within a current Icinga 2 setup. > > Graphite is a longer-term goal, but it would need to run in parallel for six > months (minimum) before stopping our PNP setup. That’s just a “feature enable graphite” away and may run from the very first start in parallel with “feature enable perfdata” on the master(s). Kind regards, Michael -- Michael Friedrich, DI (FH) Senior Developer NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 http://www.netways.de | michael.friedr...@netways.de ** OSMC 2016 - November - netways.de/osmc ** ** OSDC 2017 - Mai – osdc.de ** _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users