Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias Import alias TryExcept body Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias handlers ExceptHandler type NameLoad name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Expr Str Assign NameStore Str FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Call NameLoad Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Slice Num Num Str body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Print Str Print BinOpMod Str NameLoad Print Str orelse Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Dict Str BinOpMod Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Slice Num Num Str body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Print Str Print BinOpMod Str NameLoad Print Str orelse Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr
N/A N/A os N/A os.path N/A sys N/A re N/A time N/A signal N/A logging optparse OptionParser ksscommand KssCommand KssCommandException KssCommandOptException N/A __cmd__ N/A N/A N/A karesansui karesansui __version__ karesansui.lib.utils load_locale karesansui.lib.utils copy_file karesansui.lib.utils execute_command karesansui.lib.utils preprint_r base64_decode karesansui.lib.collectd.config initialize_collectd_settings COLLECTD_PLUGINS karesansui.lib.dict_op DictOp N/A N/A N/A ImportError N/A e N/A N/A N/A sys stderr N/A [Error] some packages not found. - %s e N/A N/A N/A sys exit 1 N/A _ N/A load_locale N/A 
initialize_collectd_conf.py -T --post-command "/etc/init.d/collectd condrestart"
 N/A usage %prog [options] getopts N/A N/A N/A N/A N/A optp N/A OptionParser usage usage version __version__ N/A N/A N/A optp add_option -q --quiet dest verbose action store_false default True help N/A _ don't print status messages N/A N/A N/A optp add_option -j --pre-command dest pre_command default None help N/A _ Scriptlet to execute before writing. N/A N/A N/A optp add_option -J --post-command dest post_command default None help N/A _ Scriptlet to execute after writing. N/A N/A N/A optp add_option -F --force dest force action store_true default False help N/A _ Force to initialize. Reset to default value. N/A N/A N/A optp add_option -R --reverse dest reverse action store_true default False help N/A _ Disable each plugin. N/A N/A N/A optp add_option -T --dry-run dest dry_run action store_true default False help N/A _ Don't do anything, just test. N/A N/A N/A optp parse_args N/A chkopts N/A N/A opts N/A N/A N/A N/A InitializeCollectdConf N/A KssCommand N/A process N/A N/A self N/A N/A N/A N/A opts args N/A getopts N/A N/A chkopts opts N/A N/A N/A self up_progress 1 N/A uniq_id N/A N/A time strftime %Y%m%d%H%M%S N/A N/A time localtime N/A N/A N/A opts pre_command None N/A N/A N/A N/A N/A opts pre_command N/A 0 4 b64: N/A N/A command N/A base64_decode N/A N/A opts pre_command N/A 4 N/A N/A command N/A opts pre_command N/A N/A N/A N/A self logger info N/A execute command - %s command N/A N/A N/A opts dry_run True N/A N/A N/A N/A >>>Execute pre command: %s command N/A N/A N/A N/A _ret _res N/A execute_command N/A N/A command split N/A N/A _ret 0 N/A N/A error_msg N/A execute error - %s command N/A N/A N/A N/A self logger error error_msg N/A N/A N/A self up_progress 5 karesansui.lib.parser.collectd collectdParser karesansui.lib.parser.collectdplugin collectdpluginParser N/A dop N/A DictOp N/A collectd_parser N/A collectdParser N/A N/A N/A dop addconf collectd N/A N/A collectd_parser read_conf N/A collectdplugin_parser N/A collectdpluginParser N/A extra_args N/A include N/A ^(%s)$ N/A N/A | join COLLECTD_PLUGINS N/A N/A N/A dop addconf collectdplugin N/A N/A collectdplugin_parser read_conf extra_args extra_args N/A N/A initialize_collectd_settings dop dop force N/A opts force reverse N/A opts reverse N/A retval N/A N/A collectd_parser write_conf N/A N/A dop getconf collectd dryrun N/A opts dry_run N/A retval N/A N/A collectdplugin_parser write_conf N/A N/A dop getconf collectdplugin extra_args extra_args dryrun N/A opts dry_run N/A N/A N/A self up_progress 30 N/A N/A N/A opts post_command None N/A N/A N/A N/A N/A opts post_command N/A 0 4 b64: N/A N/A command N/A base64_decode N/A N/A opts post_command N/A 4 N/A N/A command N/A opts post_command N/A N/A N/A N/A self logger info N/A execute command - %s command N/A N/A N/A opts dry_run True N/A N/A N/A N/A >>>Execute post command: %s command N/A N/A N/A N/A _ret _res N/A execute_command N/A N/A command split N/A N/A _ret 0 N/A N/A error_msg N/A execute error - %s command N/A N/A N/A N/A self logger error error_msg N/A N/A KssCommandOptException N/A ERROR: %s error_msg N/A N/A N/A self up_progress 10 N/A True N/A N/A N/A N/A __name__ __main__ N/A N/A target N/A InitializeCollectdConf N/A N/A N/A sys exit N/A N/A target run