...
| Property | Example | Description |
|---|---|---|
source_name | cfg-file-shinken | Name of this source. Must be unique. |
| order | 3 | Order in the merge algorithm of this source data. Look in the Synchronizer page for more information about it. |
| import_interval | 5 | Launch this source every import_inverval minutes. If you set it to 0, the module will never be launcher automatically |
| modules | cfg-file-shinken | The module to launch |
| enabled | 0 | 1 - Activate the source 0 - Viewed in the interface, but doesn't collect data nor import objects. |
| description | This source is about loading a | A description to show on the UI. |
module/
...
cfg-file-
...
shinken.cfg
Here is the list of parameters required by the module to be updated the in cfg file.
| Property | Default (if not set) | Description | ||
|---|---|---|---|---|
| module_name | cfg-file-shinken | Name of this module. Must be unique. | ||
| cfg_path | /etc/shinken/local-import.cfg |
|
...
| title | Note |
|---|
...
Here there an example of the module definition:
| Code Block |
|---|
define module{
# Shinken Enterprise. Lines added by import core.
# Do not remove it, it's used by Shinken Enterprise to update your objects if you re-import them.
_SE_UUID XXXXXXXXXXXXXXXX
_SE_UUID_HASH XXXXXXXXXXXXXXXX
# End of Shinken Enterprise part
module_name cfg-file-nagiosshinken
module_type cfg-file-import
cfg_path /etc/nagiosshinken/nagioslocal-import.cfg
} |
Having more than 1 cfg-file-nagios source defined.
...