centreon / nagiosToCentreon

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

contact admin #38

Closed arnaud-michel closed 7 years ago

arnaud-michel commented 7 years ago

All imported contact are desactivated in the Clapi (line 167) printf ( "CONTACT;setparam;%s;contact_activate;0\n", $contact_name); When you import your clapi, if you had a admin user in your target Centreon, you are not able to connect anymore on your system. You have to activate your admin user through MySQL to recover connection. Why do you desactivate user contact in this script ? Could you exclude admin contact from desactivation in this script.

cgagnaire commented 7 years ago

Hi @arnaud-michel, Done in v3-sims branch, you may want to try it. Be advise that the --config option now needs the path to the configuration files objects directory, not the nagios.cfg. Thanks!