PDA

View Full Version : Correct way to import.


Sergio
07-30-2007, 08:33 PM
Hello all,

I have nagios 2.9 whith like 300 hosts and 1k services.

Like 10 workours and 20 users / notifications commands

200 checkcommands.

I finished install Centreon ( very easy instalation, nice) , but i having some problens importing the configuration files.

I like to know, the correct order of files to import.

Tks.

rom
07-30-2007, 09:44 PM
Good evening.

You can put the definition with a global tar.gz file (tar -czf file.tar.gz services.cfg hosts.cfg ...) or by filling the textarea with your definitions.

The only way we have to make a difference between check and notif commands, is to upload them first, one by one, and check the good type each time.

After, just make the global file with all other the other files, or copy/paste the definitions in the textarea.

You can upload nagios.cfg, resource.cfg, cgi.cfg or template default method definitions.