errbot.core_plugins.health module

class errbot.core_plugins.health.Health(bot, name=None)[source]

Bases: BotPlugin

restart(msg, args)[source]

Restart the bot.

shutdown(msg, confirmed, kill)[source]

usage: shutdown [-h] [–kill] [–confirm]

Shutdown the bot. Useful when the things are going crazy and you don’t have access to the machine.

options:
-h, --help

show this help message and exit

--kill

kill the bot instantly, don’t shut down gracefully

--confirm

confirm you want to shut down

status(msg, args)[source]

If I am alive I should be able to respond to this one

status_gc(_, args)[source]

shows the garbage collection details

status_load(_, args)[source]

shows the load status

status_plugins(_, args)[source]

shows the plugin status

uptime(_, args)[source]

Return the uptime of the bot