You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I tried to update from nagmap 1.6 to the 2.0 version.
I followed the installation process and migrate my config file using your parser, but first launching the website, I got the following error :
`Impossible d'initialiser la classe!
Détails: TypeError: Cannot read property 'forEach' of undefined
When enabling the debug console, it create one host and then crash with the following error : 10/08/2020 à 10:54:43 - TypeError: Cannot read property 'forEach' of undefined
Let me know if you need more information.
The text was updated successfully, but these errors were encountered:
In fact, this seems to be a problem that was never foreseen and really never happened before.
The problem is that one or more of your hosts does not have a hostgroup in their settings and this leads to an error in the hostgroup listing function, as it is not expected that there are no hostgroups.
To avoid this problem I made some changes to the code.
I ask you to download and test the code available on that branch.
Hello,
I tried to update from nagmap 1.6 to the 2.0 version.
I followed the installation process and migrate my config file using your parser, but first launching the website, I got the following error :
`Impossible d'initialiser la classe!
Détails: TypeError: Cannot read property 'forEach' of undefined
Stack: TypeError: Cannot read property 'forEach' of undefined at Host.createMarker (https://centreon.serac.fr/centreon/nagmap2/resources/js/classes/Host.js?v=2.0.0:45:19) at new Host (https://centreon.serac.fr/centreon/nagmap2/resources/js/classes/Host.js?v=2.0.0:13:22) at NagmapReborn.getHosts (https://centreon.serac.fr/centreon/nagmap2/resources/js/classes/NagmapReborn.js?v=2.0.0:216:28) at new NagmapReborn (https://centreon.serac.fr/centreon/nagmap2/resources/js/classes/NagmapReborn.js?v=2.0.0:37:31) at https://centreon.serac.fr/centreon/nagmap2/resources/js/app.js?v=2.0.0:211:35`
I have the necessary PHP extension :
I changed all of my host to the new format.
When enabling the debug console, it create one host and then crash with the following error :
10/08/2020 à 10:54:43 - TypeError: Cannot read property 'forEach' of undefined
Let me know if you need more information.
The text was updated successfully, but these errors were encountered: