Plugin template?

Hi,

I tried to develop the file for wato, but I still do not understand how should I put it all together:

#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-

register_check_parameters (
    subgroup_applications,
    "alcatel_oxe_sip_trunk_status",
    _("Alcatel-Lucent OXE SIP Trunk Status"),
    Dictionary(
        title=_("Check SIP Trunk Status OXE"),
    help = _("This ruleset can be used to monitor status of SIP Trunk at Alcatel-Lucent OXE     PBX"),
        elements = [
            TextUnicode(
                title=_("Username"),
                allow_empty=False),
            TextUnicode(
                title=_("Password"),
                allow_empty=False),
            TextUnicode(
                title=_("Public Registration Domain"),
                allow_empty=False),
            ],
    ),
)

According to this article https://checkmk.com/cms_devel_check_plugins.html I want to develop an “Active Check”.

Can somebody tell me what should be the next step now to connect all together? Thanks.