Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

can't export new hosts and services in configuration files (centengine) #1359

Closed
centreon opened this issue Aug 14, 2014 · 1 comment
Closed

Comments

@centreon
Copy link
Collaborator


Author Name: Christopher Jacques (Christopher Jacques)
Original Redmine Issue: 5742, https://forge.centreon.com/issues/5742
Original Date: 2014-08-14


Hello everyone,

I've an issue exporting new hosts and services added in centengine configurations files. Pre-flight check on CLI shows no warning or errors:

[1408008134] running pre-flight check on configuration data
Checking services...
Checked 2533 services.
Checking hosts...
Checked 2530 hosts.
Checking host groups...
Checked 93 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 3 contacts.
Checking contact groups...
Checked 4 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 32 commands.
Checking time periods...
Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...

Total Warnings: 0
Total Errors: 0

After the verification process i restart centengine as it should be done but no hosts and services appears on the WebUI.

When i try to generate files on Configurations -> Monitoring Engines -> Generate, I still can't find the 2533 hosts

Reading main config file
Running pre-flight check on configuration data
Checking services...
Checked 4 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 2 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 54 commands.
Checking time periods...
Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...

Total Warnings: 0
Total Errors: 0

Do you have any idea?

Thank you guys

@centreon
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Sylvestre Ho (Sylvestre Ho)
Original Date: 2014-08-18T07:02:56Z


You're supposed to create your new objects from the Web UI, not from the flat configuration files. Or you could import your configuration files in [Configuration] > [Monitoring Engine] > [Load].

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants