File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 133133Options:
134134 --zabbix-address <name of the Zabbix host to send metrics>
135135 --zabbix-port <port of Zabbix server to send metrics> by default 10051
136- --zabbix-file <text file that stores the collected metric data to be visualized, such as localhost>
136+ --zabbix-file <text file that stores the collected metric data to be visualized, such as localhost.log >
137137 --zabbix-client <name of the host on Zabbix Server to send metrics>
138138 --zabbix-log-level <log level to send metrics> (INFO|DEBUG|WARN) by default INFO
139139"""
@@ -291,7 +291,7 @@ def parse_args():
291291 # name of the Zabbix host to send metrics
292292 parser .add_option ('--zabbix-client' , dest = 'zabbix_client' , default = 'localhost' )
293293 # path to file with metrics to send metrics
294- parser .add_option ('--zabbix-file' , dest = 'zabbix_file' , default = '/var/log/mamonsu/localhost' )
294+ parser .add_option ('--zabbix-file' , dest = 'zabbix_file' , default = '/var/log/mamonsu/localhost.log ' )
295295 # log level to send metrics
296296 parser .add_option ('--zabbix-log-level' , dest = 'zabbix_log_level' , default = 'INFO' )
297297 return parser .parse_args ()
You can’t perform that action at this time.
0 commit comments