Mailman's qrunner doesn't provide any way to be monitored
Bug #183372 reported by
Tom Haddon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Unassigned |
Bug Description
We currently don't have any way to monitor the health of the qrunner process, besides a check for the process.
Can we add a variable which controls how often something is written to either the xmlrpc or qrunner log file so that if there's no activity within that specified period there will be a "--MARK--" entry with a timestamp. This way an external process (such as nagios) can easily check for the health of the qrunner.
Related branches
lp:~sinzui/launchpad/mailman-heartbeat-0
- Edwin Grubbs (community): Approve (code)
- j.c.sackett (community): Approve (code*)
-
Diff: 163 lines (+127/-1)2 files modifiedlib/lp/services/mailman/monkeypatches/xmlrpcrunner.py (+18/-1)
lib/lp/services/mailman/tests/test_xmlrpcrunner.py (+109/-0)
Changed in launchpad: | |
assignee: | nobody → barry |
Changed in launchpad-foundations: | |
assignee: | barry → nobody |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in launchpad-registry: | |
milestone: | none → series-future |
tags: | added: mailing-lists |
Changed in launchpad: | |
status: | Triaged → In Progress |
milestone: | none → 11.01 |
milestone: | 11.01 → 11.02 |
Changed in launchpad: | |
assignee: | nobody → Curtis Hovey (sinzui) |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
To post a comment you must log in.
This is now made worse by the fact that the only way we can currently monitor mailman is by doing a process listing, and if you have two instances on the same server (such as staging and qastaging) there's no difference in the process listing to be able to tell which one is which.