Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To have an additional source,

  1. Copy Copy  /etc/shinken/modules/cfg-file-nagios.cfg  into an other cfg file name and configure itThen configure the source in the file it 
    • Remember that the module_name must be unique (Example: my_module_name)

    Copy  /etc/shinken/sources/cfg-file-nagios.cfg into an other cfg file name and configure it
      to enable the source and call the module configured in step 1.
      • Remember that the source_name must be unique.
        (Example:  my_source_name)
         
      • modules must be set to the new module you just define (my_module_name)
         
    • Then you must declare the cfg-file-nagios source_name source in the file /etc/shinken/synchronizers/synchronizer-master.cfg.

 

Migrating from Nagios to Shinken Enterprise is very easy

...

    • add the source name in the line sources
    • sources syncui,cfg-file-shinken,active-dir,sync-vmware,

...

    • cfg-file-nagios,discovery, my_source_name

 

Code Block
define synchronizer {
	...

...

All you need to do is to set the following parameters:

  • cfg_path                   /etc/nagios/nagios.cfg

Note: you must copy all your Nagios configuration into the Shinken Enterprise.

...


	sources syncui,cfg-file-shinken,active-dir,sync-vmware,cfg-file-nagios,discovery, my_source_name
	...
}