-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update daemons state is not correct (missing daemons) #59
Comments
Seems related to this issue: e.g.: On demo site: from alignak_backend_client.client import Backend
backend = Backend('http://demo.alignak.net:6000')
backend.login('northman', 'north')
daemons = backend.get('alignakdaemon')
for daemon in daemons['_items']:
print(daemon['name']) will ouput:
So Reactionners are missing. |
Fixed with today's alignak merged modifications |
@mohierf I've tested on demo server and problem persists... from alignak_backend_client.client import Backend
backend = Backend('http://demo.alignak.net:6000')
backend.login('southman', 'south')
daemons = backend.get('alignakdaemon')
for daemon in daemons['_items']:
print(daemon['name'])
# Output
scheduler-south
scheduler-south-east
poller-south-east
poller-south
broker-master
broker-south-east
broker-south Here with southman, Receivers are missing too (so with Arbiters and Reactionners). |
Hmmm ... ok. When the For instance the broker-master status is in the realm All and has a What drives this
I do not really understand the logic behind this choice 😑 @ddurieux On my own, I would have set this property as True for all the daemons. As such, any user, whatever its realm, is able to see that the whole Alignak daemons are ok or not! |
I'm agree with that. |
@mohierf I think |
Ok, you think so, but why? Why restricting the view of the daemons state to the users that are not in the realm? If you do not want to make them visible, how the user can be informed that the monitoring system is well and running ? |
When
alignakdaemon
is updated, there are several problems:_sub_realm
and some others are not ...As an example:
Note missing daemons are:
poller-master
,scheduler-master
,reactionner-master
Note Also note that the arbiter is missing completely.
Relates to #53.
The text was updated successfully, but these errors were encountered: