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
add (un)silence_nagios and command actions to the nagios module #2272
Conversation
also fix a typo with the check_mode check
I'd also like to loop @tbielawa into this for review since he wrote the original one. |
Will check this out this weekend. |
Doc string says command is |
I can confirm that silence_nagios and unsilence_nagios work as advertised! |
I can confirm that the command action works as advertised. +1 once the documentation typo is corrected. |
is there a pull request to fix the docs? On Sat, Mar 2, 2013 at 3:36 PM, tbielawa notifications@github.com wrote:
|
command is required if action=command. it can't be required in the command dict() b/c it is not required in EVERY case. Same as host is not required for silence_nagios but it is for every other action. How should this be fixed? |
Is there actually a problem? I'm deferring to you guys here :) |
Ship it
|
add (un)silence_nagios and command actions to the nagios module
go-go-gadget-merge-button merged, thanks! |
also fix a typo with the check_mode check
this just adds a raw command action, changes the default requirements for running an action and fixes up the notification formatting for the above.