Comments (5)
Need to ensure checks that take longer to execute then their defined timeout are killed.
from sensu.
I think that means you have to come up with your own version of EM.defer
that implements thread timeouts. I don't see any chance to do that with the current implementation of EM.defer
.
from sensu.
@bernd you could implement a ruby timeout() within the defer, killing the check in progress and setting the exit status code and output. The callback would be happy.
from sensu.
We do all of our timeout logic within plugins, as it helps identify where the timeout is actually occurring when multiple steps are involved. Produces more helpful output etc.
from sensu.
Oh, right. I guess that was too simple for me to see. :) Sorry for the noise.
from sensu.
Related Issues (20)
- IPv6 Only client does not start with 'normal' configuration
- Keepalive false alert because of time jump in logs HOT 2
- Redis connection retries are not controlled with exponential backoff
- Unexpected error: The parameter is incorrect. (87)
- Token split can break some default values HOT 2
- Sesnu window client: "message":"[amqp] Detected TCP connection failure: unknown" HOT 1
- Deletion of client via api
- sensu-client service appears to be in running state even in the middle of shutting down
- sensu-google-chat-handler-for-multi-chat-rooms
- fetching check history via /results and /events switched datatype
- Sensu client creates duplicate queue after reconnect
- REPOS - Error 503 Backend unavailable HOT 1
- Steps to delete checks that are no longer needed
- Sensu Core Packages For Debian 10(buster) HOT 1
- docker sensu stops after few hours HOT 3
- [Feature Request] - Windows Silent Installer Support
- HTTP 204 responses can inappropriately include content HOT 1
- [Guidance Question] Deploy separate sensu clusters using same external etcd cluster
- Subdue default times do not provide enough sub-second resolution HOT 2
- Server should provide controls to limit oversized events
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sensu.