Skip to main content
Solved

Error processing hostTemplates.cfg file (2d_coords)

  • December 2, 2022
  • 4 replies
  • 64 views

Forum|alt.badge.img+8

Recently I have imported via CLAPI .cfg configuration files from Nagios to Centreon, when exporting the configuration I got the following error:

However when I go to the generated template, I see that it is correctly, in the 2d_coord section the data has been entered.
What can this be due to? How can I solve it?

Best answer by aalz0

I have delete every line that contains those fields a I “solved” the error, but it should be another solution.

Thank you so much for the replies!

4 replies

ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • December 7, 2022

👋

 

@aalz0 maybe something related to

 

We don’t use anymore 2d or 3d Coords , you need to use “Geographic coordinates”.

Please edit your template and change configuration


Forum|alt.badge.img+8
  • Author
  • Builder *
  • December 9, 2022

👋

 

@aalz0 maybe something related to

 

We don’t use anymore 2d or 3d Coords , you need to use “Geographic coordinates”.

Please edit your template and change configuration

 

So, why are 2d and 3d coords field still available ?

How can I do a massive migration from NagiosQL avoiding this problem?


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • December 9, 2022

Good question, maybe @Laurent can shine some light

🤞


Forum|alt.badge.img+8
  • Author
  • Builder *
  • Answer
  • December 12, 2022

I have delete every line that contains those fields a I “solved” the error, but it should be another solution.

Thank you so much for the replies!