Comments (3)
crashsms
only sends an alert when it receives the PROCESS_STATE_EXITED
event, meaning the process has entered the EXITED
state. When you stop the process with supervisorctl stop
, it puts the process into the STOPPED
state. Try causing the process to exit another way, e.g. by kill -9 <pid>
or since Supervisor 3.3.0, supervisorctl signal 9 <processname>
. To see detailed messages about what events are being sent to event listeners like crashsms
, set loglevel=blat
in the [supervisord]
section of the config file.
from superlance.
Good, I killed it and this is the log (Still not getting any email):
worker-1000:worker-1000 exited unexpectedly 2016-10-18 16:29:00,313
2016-10-18 16:29:00,326 DEBG event 5 sent to listener crashsms
2016-10-18 16:29:00,326 BLAT read event caused by <PEventListenerDispatcher at 140586332972960 for <Subprocess at 140586333223392 with name crashsms in state RUNNING> (stdout)>
2016-10-18 16:29:00,326 DEBG 'crashsms' stdout output:
RESULT 2
OKREADY
2016-10-18 16:29:00,327 DEBG crashsms: event was processed
2016-10-18 16:29:00,327 DEBG crashsms: BUSY -> ACKNOWLEDGED
2016-10-18 16:29:00,327 DEBG crashsms: ACKNOWLEDGED -> READY
2016-10-18 16:29:01,329 INFO success: worker-1000 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Any other idea? Is there any log where I can see how crashsms sends the message?
By the way, loglevel=blat didn't work. loglevel=blather worked.
from superlance.
crashsms
doesn't have a log file. It might print some messages to its stderr, which you can see with supervisorctl tail <processname> stderr
or in the main supervisord
log if the log level is low enough (like blat
).
We use this issue tracker mainly for bugs. The supervisor-users mailing list is a good place to ask questions installing or using Supervisor and Superlance.
from superlance.
Related Issues (20)
- How to install superlance on python 3, when supervisor only supports python 2? HOT 1
- Superlance to send alerts to Slack channel HOT 1
- memmon and program with multiple processes? HOT 2
- Add docs to readme
- python 3 installtion HOT 2
- Crashmail event buffer overflowed,
- httpok: try to restart even in FATAL process state HOT 1
- Doesn't seem to work HOT 2
- Memmon: socket.error: [Errno 13] Permission denied HOT 3
- superlance crashmail doesn't work HOT 3
- Create a new release with Python 3 support HOT 1
- Please look at this question HOT 2
- Please look at this question HOT 1
- Deprecation warning due to invalid escape sequences in Python 3.8
- Installing super lance on alpine based docker images HOT 1
- Fix to #110 not available on pip HOT 2
- ERRO pool mylistener2 event buffer overflowed, discarding event HOT 1
- fatalmailbatch not working getting FATAL can't find command 'fatalmailbatch'
- Memmon does not work on Alpine distros HOT 1
- Include stdour/stderr crashlog in email
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 superlance.