-
Notifications
You must be signed in to change notification settings - Fork 570
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
Status of services (pushed through api) show after icinga2 service was reload #7227
Comments
I assume that a new check result is being pushed via API action. If you're manually modifying the |
okay, but after I've reload the icinga2 its working correctly. Can I do somephing, for debug or testing? |
So you're modifying the state attribute in your library? This is not supported by design. |
What do you mean with "state attribute"? "Custom Variables" in Icinga2 webgui?
|
hm...
but I get the same error |
Hm, I think I misunderstood the meaning of "set a state", which is done via the process-check-result action. The host object and its changed state is visible via REST API, right? Then I'd point to IDO activation bugs collected in #6012. |
Hi @de1m, If you still have this problem, please open a new issue. I close this one in the meantime. For the records, I doubt that it is a good idea to add All the best, |
Describe the bug
The error happens only on first start of my container. The container start without any errors und icinga2 can receive data through NSCA (from Windows Server) without errors.
I've a cuple of scripts, written in nodejs (icinga2 modul). This scripts create icinga2 objects (hosts and services) and set state of they through icinga2 api.
The error is, that the state of this object will be seeable(in icinga2 webgui) after I run the command "service icinga2 reload"
To Reproduce
Your Environment
Include as many relevant details about the environment you experienced the problem in
icinga2 --version
): version: r2.10.5-1icinga2 feature list
):icinga2 daemon -C
):Additional context
I think the error happens because I create the host, then server and set state of this and all of this very fast (in script).
All logs are empty.
The text was updated successfully, but these errors were encountered: