-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
New module: Add Icinga2 downtime module to allow users to schedule and remove downtime (monitoring/icinga2_downtime) #24131
Conversation
The test
The test
The test
The test
The test
The test
The test
|
The test
The test
The test
The test
The test
The test
The test
|
The test
The test
The test
The test
The test
The test
|
The test
The test
The test
The test
The test
The test
|
The test
The test
The test
The test
The test
The test
|
The test
The test
The test
The test
The test
The test
|
The test
The test
The test
The test
The test
The test
|
The test
The test
The test
The test
The test
The test
|
- A module to manage downtime for icinga2 using Icinga2 API. | ||
- This module is able to schedule or remove downtime for hosts or/and services (can be used with regex). | ||
requirements: | ||
- requests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Shaita-KrZ you should remove requests from the requirements
@sivel ? |
Hi @Shaita-KrZ, nice module. I have two changes you might want to add to your code. At line 432 there exists a problem on Python 2.6 where deltatime has no method total_seconds. You can fix it with these lines:
And at line 283 you should check if the key "name" exists.
|
Is still something happening there ? This module would be useful for me... |
@yasa1987 @sivel Let me get in touch with @Shaita-KrZ who is in my team to make sure those changes you requested get updated so that we can hopefully have this merged soon ! Thanks ! |
@!UNKNOWN @Akint @ApsOps @D3DeFi @K-dot @NickatEpic @RedWhiteMiko @Sedward @abulimov @akomic @andsens @bhcopeland @brian-brazil @bwhaley @dj-wasabi @dmsimard @dstoflet @eikef @emriver @harrisongu @hkariti @kavu @logan2211 @martinwangjian @mcodd @n0ts @nate-kingsley @nerzhul @orgito @rrey @rubentsirunyan @seuf @skornehl @sky-joker @smbambling @sookido @stravassac @stympy @suprememoocow @t794104 @tbielawa As a maintainer of a module in the same namespace this new module has been submitted to, your vote counts for shipits. Please review this module and add |
Thank you very much for your interest in Ansible. Ansible has migrated much of the content into separate repositories to allow for more rapid, independent development. We are closing this issue/PR because this content has been moved to one or more collection repositories.
For further information, please see: |
SUMMARY
new module allowing users to schedule and remove downtime for icinga (able to work with regex)
ISSUE TYPE
COMPONENT NAME
icinga2_downtime.py
ANSIBLE VERSION