def __init__(self, argv=(), env=None, debug=False):
MuninPlugin.__init__(self, argv, env, debug)<EOL>self.envRegisterFilter('<STR_LIT>', '<STR_LIT>')<EOL>self._host = self.envGet('<STR_LIT:host>')<EOL>self._port = self.envGet('<STR_LIT:port>', None, int)<EOL>self._user = self.envGet('<STR_LIT:user>')<EOL>self._password = self.envGet('<STR_LIT:password>')<EOL>self._ssl = self.envCheckFlag('<STR_LIT>', False)<EOL>self._category = '<STR_LIT>'<EOL>self._tomcatInfo = TomcatInfo(self._host, self._port,<EOL>self._user, self._password, self._ssl)<EOL>if self.graphEnabled('<STR_LIT>'):<EOL><INDENT>graph = MuninGraph('<STR_LIT>', self._category,<EOL>info='<STR_LIT>',<EOL>args='<STR_LIT>')<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', type='<STR_LIT>',<EOL>info="<STR_LIT>")<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', type='<STR_LIT>',<EOL>info="<STR_LIT>"<EOL>"<STR_LIT>")<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', type='<STR_LIT>',<EOL>info="<STR_LIT>"<EOL>"<STR_LIT>", colour='<STR_LIT>')<EOL>self.appendGraph('<STR_LIT>', graph)<EOL><DEDENT>for (port, stats) in self._tomcatInfo.getConnectorStats().iteritems():<EOL><INDENT>proto = stats['<STR_LIT>']<EOL>if self.portIncluded(port):<EOL><INDENT>if self.graphEnabled('<STR_LIT>'):<EOL><INDENT>name = "<STR_LIT>" % port<EOL>title = "<STR_LIT>" % (proto, port)<EOL>info = ("<STR_LIT>" <EOL>% (proto, port))<EOL>graph = MuninGraph(title, self._category, info=info, <EOL>args='<STR_LIT>')<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', type='<STR_LIT>',<EOL>info="<STR_LIT>")<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', type='<STR_LIT>',<EOL>info="<STR_LIT>")<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', type='<STR_LIT>',<EOL>info="<STR_LIT>",<EOL>colour='<STR_LIT>')<EOL>self.appendGraph(name, graph)<EOL><DEDENT>if self.graphEnabled('<STR_LIT>'):<EOL><INDENT>name = "<STR_LIT>" % port<EOL>title = ("<STR_LIT>" <EOL>% (proto, port))<EOL>info = ("<STR_LIT>" <EOL>% (proto, port))<EOL>graph = MuninGraph(title, self._category, info=info,<EOL>args='<STR_LIT>')<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', type='<STR_LIT>', <EOL>min=<NUM_LIT:0>, info="<STR_LIT>")<EOL>self.appendGraph(name, graph)<EOL><DEDENT>if self.graphEnabled('<STR_LIT>'):<EOL><INDENT>name = "<STR_LIT>" % port<EOL>title = ("<STR_LIT>" <EOL>% (proto, port))<EOL>info = ("<STR_LIT>" <EOL>% (proto, port))<EOL>graph = MuninGraph(title, self._category, info=info,<EOL>args='<STR_LIT>')<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', <EOL>type='<STR_LIT>', min=<NUM_LIT:0>, <EOL>info="<STR_LIT>")<EOL>self.appendGraph(name, graph)<EOL><DEDENT>if self.graphEnabled('<STR_LIT>'):<EOL><INDENT>name = "<STR_LIT>" % port<EOL>title = ("<STR_LIT>" <EOL>% (proto, port))<EOL>info = ("<STR_LIT>"<EOL>"<STR_LIT>" <EOL>% (proto, port))<EOL>graph = MuninGraph(title, self._category, info=info,<EOL>args='<STR_LIT>',<EOL>vlabel='<STR_LIT>')<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', type='<STR_LIT>', <EOL>min=<NUM_LIT:0>, graph=False)<EOL>graph.addField('<STR_LIT>', '<STR_LIT>', draw='<STR_LIT>', type='<STR_LIT>', <EOL>min=<NUM_LIT:0>, negative='<STR_LIT>',<EOL>info="<STR_LIT>")<EOL>self.appendGraph(name, graph)<EOL><DEDENT><DEDENT><DEDENT>
Populate Munin Plugin with MuninGraph instances.

        @param argv:  List of command line arguments.
        @param env:   Dictionary of environment variables.
        @param debug: Print debugging messages if True. (Default: False)