Skip to main content
Question

Migrate Nagios® Core 4.4.9 to Centreon 23.04

  • Nov 1, 2023 11:35 AM UTC
  • 5 replies
  • 258 views

Forum|alt.badge.img+1

The Nagios Reader Github has been archived this month, so evidently support and updates will no longer be available.

I followed the guide at
https://docs.centreon.com/docs/migrate/nagios-to-centreon/

The command - perl nagios_reader_to_centreon_clapi.pl --config /usr/local/nagios/etc/ > /tmp/centreon_clapi_import_commands.txt - executes successfully on my configuration directory without error but the generated clapi text file does not contain any details from my configuration. Our configuration has customized storage locations but follows the Nagios guide for nagios.cfg.

I am not certain how to debug in order to get our extensive configuration exported so that we can try our Centreon. Overall spinning up the appliance and playing with the stock configuration is interested but if I can get my monitored hosts and services imported, that would be a far more impressive test.

Thanks.

5 replies

Forum|alt.badge.img+1
  • Author
  • Steward *
  • Dec 11, 2023 7:24 PM UTC

So there is no way to migrate off of a current Nagios Core server to current Centreon?

The https://github.com/centreon/nagiosToCentreon project has been archived and is read only - the last update was 5 years ago and it failed to export our existing Nagios CORE.

Are there any other options? Cetreon appears to be a user friendly solution.


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • Dec 19, 2023 4:34 PM UTC

Hi @Nyle you can try with  https://github.com/centreon/nagiosToCentreon but it was not tested on Nagios 4, only 3.x


Forum|alt.badge.img+1
  • Author
  • Steward *
  • Dec 19, 2023 7:08 PM UTC

Thanks @Laurent I greatly appreciate the reply.Yes, as I mentioned it runs but the resultant file is virtually empty. It’s not working and doesn’t appear to be supported anymore. The documentation could use an update to remove reference to it for Nagios 4.


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • Dec 20, 2023 8:47 AM UTC

HI @Nyle can you send me in private message an archive of your Nagios configuration to test and maybe to fix script?


Forum|alt.badge.img+1
  • Author
  • Steward *
  • Jan 3, 2024 2:39 PM UTC

I really appreciate that offer. I do. 😀

Unfortunately, I do not think that Cyber Security at my Company would give me the authority to send out my configuration.  😐