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

feature - request: Check Execution Mode status at startup #83

Closed
Zwordi opened this issue Mar 4, 2024 · 4 comments
Closed

feature - request: Check Execution Mode status at startup #83

Zwordi opened this issue Mar 4, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Zwordi
Copy link

Zwordi commented Mar 4, 2024

Hello,

We are using Rundeck with multiple node but only one active at a time through the ExecutionMode settings.
We did setup the rundeck_exporter but as the other nodes are not active the exporter are reaching the rundeck url (active node) to fetch data.
This is leading to a certain amount of queries in our DB.
Would it be possible through a settings to have the "rundeck_exporter" check the status of the execution node and stay idle if the status is disable ?

Let me know if you need more information.

Thanks for your exporter :)

@phsmith
Copy link
Owner

phsmith commented Mar 4, 2024

Hi @Zwordi , thanks for using the rundeck_exporter.
Yes, it's definitely possible to implement this feature. I'll work on it soon and keep you posted.

@phsmith phsmith self-assigned this Mar 4, 2024
@phsmith phsmith added the enhancement New feature or request label Mar 4, 2024
@phsmith
Copy link
Owner

phsmith commented Mar 5, 2024

Hey @Zwordi, I've just pushed a new version (v2.6.4) with a new arg --no_checks_in_passive_mode and RUNDECK_EXPORTER_NO_CHECKS_IN_PASSIVE_MODE=<False|True> so the rundeck_exporter stays idle while Rundeck host is in passive mode.

Let me know if this helps you.

@Zwordi
Copy link
Author

Zwordi commented Mar 7, 2024

Hello @phsmith,

Thanks you. I’m going to test it and I will let you know !

Regards,

@Zwordi
Copy link
Author

Zwordi commented Mar 20, 2024

Hello,
It did work as planned.
Thank you.

@Zwordi Zwordi closed this as completed Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants