Hello,

we are planning to upgrade to icinga 2, and we are testing the migration script: https://github.com/icinga/icinga2-migration.
Somehow I am getting an odd Error:

//---------------------------------------------------
//Migrate Icinga 1.x configuration to Icinga 2 format
//Start time: 2015-05-12 08:12:34
//---------------------------------------------------
//ERROR: Object: no key found ('name' or 'hostgroup_name') for type 'hostgroup'.
object(Icinga\Module\Conftool\Icinga\IcingaHostgroup)#4039 (7) {
  ["key":protected]=>
  string(14) "hostgroup_name"
  ["_own_services":protected]=>
  array(0) {
  }
  ["_not_services":protected]=>
  array(0) {
  }
  ["props":protected]=>
  object(stdClass)#4040 (0) {
  }
  ["_parents":protected]=>
  array(0) {
  }
  ["is_template":protected]=>
  bool(false)
  ["type":protected]=>
  string(9) "hostgroup"
}
PHP Catchable fatal error: Method Icinga\Module\Conftool\Icinga\IcingaHostgroup::__toString() must return a string value in /data/icinga2-migration-master/modules/conftool/library/Conftool/Icinga/IcingaConfig.php on line 360

Catchable fatal error: Method Icinga\Module\Conftool\Icinga\IcingaHostgroup::__toString() must return a string value in /data/icinga2-migration-master/modules/conftool/library/Conftool/Icinga/IcingaConfig.php on line 360

I looked through all the config files, and everywhere there is either a name of hostgroup_name definied for the hostgroups..
Could someone help me with this problem ??

Thnx,

- Pascal


_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to