When trying to import services and hostgroups from nagios flatfiles. The alignak arbiter seems to crash after a restart with this error:
INFO:alignak.objects.config:Configuration in service::SSH is incorrect; from: alignak-backend
INFO:alignak.objects.config:the hostgroup '[u'58c8743df7923b007530505d']' is unknown
The services and hostgroups are defined with this syntax:
define service {
use generic-service
hostgroup_name VPS
service_description SSH
check_command check_ssh
}
define hostgroup {
hostgroup_name VPS
alias VPS Servers
}
In the backend database, VPS hostgroup seems to exists and the ID 58c8743df7923b007530505d too. In fact it seems that arbiter mix hostgroup name and hostgroup id when trying to read configuration.
As initially logged here: https://github.com/Alignak-monitoring-contrib/alignak-backend-import/issues/65 the problem is located in the arbiter backendmodule .
When trying to import services and hostgroups from nagios flatfiles. The alignak arbiter seems to crash after a restart with this error:
The services and hostgroups are defined with this syntax:
In the backend database, VPS hostgroup seems to exists and the ID 58c8743df7923b007530505d too. In fact it seems that arbiter mix hostgroup name and hostgroup id when trying to read configuration.
Any idea about it ?