-
Notifications
You must be signed in to change notification settings - Fork 290
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
Windows Handlers not handled by module #870
Comments
|
@DDSloan96 Thank you for letting us know about this issue! Could you please update this issue with example code regarding the handlers so that we can reproduce the problem. |
sensu::handlers:
operations:
type: 'pipe'
command: "/opt/sensu/embedded/bin/handler-pagerduty.rb"
severities:
- 'critical' This is an example of what causes the issue. I have a feeling the issue stems from this code sensu::handlers:
operations:
type: 'pipe'
command: "/opt/sensu/embedded/bin/handler-pagerduty.rb"
severities:
- 'critical' As it doesn't have handling for windows |
|
Do you get any error messages when using this code? What data do you expect to be in which file? |
This is the error message we get, The expected output should be {
"handlers": {
"operations": {
"command": "/opt/sensu/embedded/bin/handler-pagerduty.rb",
"type": "pipe",
"filters": [
],
"severities": [
"critical"
],
"handle_flapping": false,
"handle_silenced": false
}
}
} |
|
@DDSloan96 Just to clarify, your attempting to apply the previously mentioned Hiera defined resource to a Windows puppet client that is acting as a Sensu server? If my understanding is correct, I would think |
|
BTW: We support windows as a client, not as a server. From the code, I believe that @DDSloan96 is using windows as a client. |
|
We are using it as a client |
|
I've confirmed the issue inside a vagrant Windows VM. I am working on patches that will make |
|
Released in v2.53.0 |
Description of problem
Platform and version information
The text was updated successfully, but these errors were encountered: