UQComputingSociety / uqcsbot-slack

:mortar_board: UQCSbot: our friendly little Slack bot
https://slack.uqcs.org.au
MIT License
55 stars 44 forks source link

!logs {procname} #88

Open TRManderson opened 8 years ago

TRManderson commented 8 years ago

All UQCS stuff is managed by supervisor on our server. Supervisor provides an XML-RPC endpoint that we can use to manage the processes on the server, and is used by cesi.

Using the XML-RPC endpoint, we should be able to view the tail of the logs of a given process. See hookbot (https://github.com/UQComputingSociety/webhooks) for an example of using the XML-RPC endpoint (in Python).

Supervisor docs are here: http://supervisord.org/api.html

TRManderson commented 8 years ago

JS XML-RPC lib: https://www.npmjs.com/package/xmlrpc

TRManderson commented 6 years ago

Related to #304