Check out https://github.com/Icinga/icinga2-migration <https://github.com/Icinga/icinga2-migration>
It’s not the cleanest conversion and generates some funky names, but we converted a nagios server with roughly 10k customized queries and I only had to spent maybe 2 hours hacking the output from migration to get the tests online. There are two issues to be aware of: 1. host definitions that are !negative matches get parsed wrong, see https://dev.icinga.org/issues/9776 <https://dev.icinga.org/issues/9776> 2. if you were passing multiple arguments in as a single input string, it won’t work and you’ll have to separate those to distinct arguments https://lists.icinga.org/pipermail/icinga-users/2014-May/008241.html <https://lists.icinga.org/pipermail/icinga-users/2014-May/008241.html> As stated above, I was able to convert a large site with many custom tests to work properly under Icinga in small number of hours. Those two hints will save you most of the time I lost going sideways ;) What you will have isn’t pretty, but it gets Icinga stood up and allows to you iterate refactoring to take advantage of Icinga2’s features. On Sep 16, 2015, at 6:37 AM, Paul C <pkci...@gmail.com <mailto:pkci...@gmail.com>> wrote: > Icinga2 is proving very flexible with sattelite servers but we have an old > Icinga1 server with lots of customizations that would take a lot of effort to > migrate to Icinga2. Is there a way to push Icinga 1 status file to icinga2 > and it will magically display all the hosts and services? There are several > thousand service definitions on the old box and a firewall prevents Icinga2 > to connect to Icinga1 (but Icinga1 can connect to Icinga2). > > Thanks, > Paul > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org <mailto:icinga-users@lists.icinga.org> > https://lists.icinga.org/mailman/listinfo/icinga-users -- Jo Rhett Net Consonance : net philanthropy to improve open source and internet projects.
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users