1010 -a, --add-plugins <directory>
1111 -c, --config <file>
1212 -p, --pid <pid-file>
13- -d daemonize (this functional do not support in windows)
13+ """
14+ if platform .LINUX :
15+ usage_msg += """ -d daemonize"""
16+
17+ usage_msg += """
1418 --version output version information, then exit
1519 --help show this help, then exit
1620
2024 {prog} export config <file>
2125Options:
2226 --add-plugins <directory>
23-
24- Export zabbix keys for native zabbix-agent (this functional do not support in windows):
25- Command: export zabbix-parameters
26- Examples:
27- {prog} export zabbix-parameters <file>
28- Options:
29- --plugin-type <plugin_type> (pg|sys|all) by default all
30- --pg-version <pg_version> by default 10
31- --add-plugins <directory>
32- --config <file>
33- HINT: Supported version numbers are 12, 10, 11, 9.6, 9.5
34-
3527
36- Export template for native zabbix agent (this functional do not support in windows):
37- Command: export zabbix-template
38- Examples:
39- {prog} export zabbix-template [options] <file>
40- Options:
41- --template-name <template name> by default PostgresPro-<platform name>
42- --plugin-type <plugin_type> (pg|sys|all) by default all
43- --application <application name in template> by default App-PostgresPro-<platform name>
44- --add-plugins <directory>
45- --config <file>
46- --old-zabbix
47- By default, mamonsu exports the template for Zabbix 4.4 or higher.
48- To export a template for older Zabbix versions, use the --old-zabbix option.
49-
50-
5128Export zabbix template with additional plugins included in config file:
5229Command: export template
5330Examples:
6138HINT: By default, mamonsu exports the template for Zabbix 4.4 or higher.
6239To export a template for older Zabbix versions, use the --old-zabbix option.
6340
64-
6541Bootstrap DDL for monitoring:
6642Command: bootstrap
6743Examples:
7450 -U, --username <USERNAME>
7551 --host <PGHOST>
7652
77-
7853Information about working mamonsu:
7954Command: agent
8055Examples:
8459Options:
8560 -c, --config <file>
8661
87-
88-
8962Zabbix API toolbox:
9063Command: zabbix
9164Usage:
11588 --url=http://zabbix/web/face
11689 --user=WebUser
11790 --password=WebPassword
118-
91+
11992Export metrics to zabbix server
12093Command: upload
12194Example:
130103
131104if platform .LINUX :
132105 usage_msg += """
106+ Export zabbix keys for native zabbix-agent:
107+ Command: export zabbix-parameters
108+ Examples:
109+ {prog} export zabbix-parameters <file>
110+ Options:
111+ --plugin-type <plugin_type> (pg|sys|all) by default all
112+ --pg-version <pg_version> by default 10
113+ --add-plugins <directory>
114+ --config <file>
115+ HINT: Supported version numbers are 12, 10, 11, 9.6, 9.5
116+
117+ Export template for native zabbix agent:
118+ Command: export zabbix-template
119+ Examples:
120+ {prog} export zabbix-template [options] <file>
121+ Options:
122+ --template-name <template name> by default PostgresPro-<platform name>
123+ --plugin-type <plugin_type> (pg|sys|all) by default all
124+ --application <application name in template> by default App-PostgresPro-<platform name>
125+ --add-plugins <directory>
126+ --config <file>
127+ --old-zabbix
128+ By default, mamonsu exports the template for Zabbix 4.4 or higher.
129+ To export a template for older Zabbix versions, use the --old-zabbix option.
133130
134131Report about hardware and software:
135132Command: report
145142 -r, --print-report
146143 -w, --report-path <path to file>
147144
148-
149-
150145AutoTune config and system:
151146Command: tune
152147Options:
159154
160155if platform .WINDOWS :
161156 usage_msg += """
162-
163157AutoTune config and system:
164158Command: tune
165159Options:
@@ -180,7 +174,6 @@ class MissOptsParser(OptionParser):
180174 def print_help (self , ** kwargs ):
181175 print ("""
182176
183-
184177Export example config with default variables:
185178Command: export
186179Examples:
0 commit comments