mod_ping
Enabling mod_ping will let clients establish whether they have a stable connection to a server or not it by sending an XMPP ping.
Details
mod_ping implements XEP-0199.
Configuration
No options
Example
    modules_enabled = {
        -- Other modules
        "ping"; -- Enable mod_ping
    }