Skip to content

Commit b072a91

Browse files
committed
fix: update filename for saving metrics
1 parent d765f18 commit b072a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mamonsu/lib/parser.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
Options:
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()

0 commit comments

Comments
 (0)