centreon / nagiosToCentreon

Import your nagios config files into Centreon DB... And it rocks !
Apache License 2.0
9 stars 13 forks source link

script consumes all memory #37

Closed draugr333 closed 7 years ago

draugr333 commented 7 years ago

hello,

I don't know if it's related to the script itself or my servers but when I execute 'perl nagios_reader_to_centreon_clapi.pl --config /usr/local/nagios/etc/nagios.cfg > /tmp/centreon_clapi_import_commands.txt' I quickly get an out of memory message and the script never finishes :(

I'm trying to import nagios 4.0.8 configuration to a freshly installed Centreon 3.4 Nagios VM runs on CentOS7. It has 2 vcpu and 4Gb of memory. My Nagios configuration has something like 80 hosts so I don't think it's a huge configuration. Any idea? Thank you

cgagnaire commented 7 years ago

Hi @draugr333, Can you please try the v3-sims branch ? Be advise that the --config option now needs the path to the configuration files objects directory, not the nagios.cfg. Thanks!