Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reload command succeeded, but services are missing #1420

Open
twproject opened this issue Jan 20, 2025 · 3 comments
Open

reload command succeeded, but services are missing #1420

twproject opened this issue Jan 20, 2025 · 3 comments

Comments

@twproject
Copy link

Hi everyone,

As my team works on migrating our old CentOS 6 server (running CheckMK with Thruk 3.14.2) to a new monitoring setup, I’ve set up a temporary Thruk instance (3.20) on a new server using a Docker image.

I’m in the process of recreating all my Business Processes (BP), as I couldn’t find a way to migrate them from the old server to the new one. However, after saving a BP, I get the following message:
"Reload command succeeded, but services are missing."

From Panorama it seems to work ok

I investigated the issue and found that it might be related to Naemon, but I couldn’t locate Naemon on either the new or the old server. I also reviewed the configuration files, which are very similar, and noticed that the #objects_save_file directive is commented out in both the old and new server configurations.

Does anyone have any insights or suggestions on how to resolve this?

Thanks in advance!
Riccardo

@sni
Copy link
Owner

sni commented Jan 20, 2025

migrating the BPs is usually just copying the files from /var/lib/thruk/bp/ to the new machine. Then run the thruk bp commit command which writes the objects_save_file file. This file should be somewhere so naemon can read and use the file as object configuration.

@twproject
Copy link
Author

thanks about migration
any idea about "Reload command succeeded, but services are missing." error?

@sni
Copy link
Owner

sni commented Jan 21, 2025

well, check or set the objects_save_file, then make sure it is read by naemon. The error message basically indicates that Thruk was able to write that file, reloaded naemon but the expected services cannot be found.

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

No branches or pull requests

2 participants