Skip to content

Commit 1f870ab

Browse files
[DOC] Added note for Zabbix 7.2+ module path
Fixes #24
1 parent 98b2ce3 commit 1f870ab

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

README.md

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ You can find the latest versions for the respective Zabbix releases on the [Gith
2020

2121
## Installation
2222

23-
For Debian and Ubuntu server, the Zabbix Frontend modules are usually placed in ``/usr/share/zabbix/modules/``.
23+
For Debian and Ubuntu server, the Zabbix Frontend modules are usually placed in ``/usr/share/zabbix/modules/`` (up to Zabbix 7.0) or ``/usr/share/zabbix/modules/ui/`` (Zabbix 7.2 and newer).
2424

25-
Copy the folder `modules/csv-host-importer` to `/usr/share/zabbix/modules/csv-host-importer` on the Zabbix frontend web server.
25+
Copy the folder `modules/csv-host-importer` to `/usr/share/zabbix/modules/csv-host-importer` or `/usr/share/zabbix/modules/ui/csv-host-importer` on the Zabbix frontend web server, depending on the Zabbix version.
2626

2727
**Note:** If you're using Zabbix 6.2 or 6.0, you'll need to remove `manifest.json` and rename `manifest.v1.json` to `manifest.json`.
2828

@@ -33,7 +33,6 @@ Then go to `Administration`, `General`, `Modules`, click `Scan directory` and en
3333
Once the frontend module is activated, a new menu entry `Host CSV Importer` should appear under `Configuration` (6.0, 6.2) or `Data collection` (6.4+).
3434

3535
Here's an example of two hosts: the first one with Zabbix agent and another with an SNMPv2 agent:
36-
3736
```
3837
NAME;VISIBLE_NAME;HOST_GROUPS;TEMPLATES;AGENT_IP;AGENT_DNS;SNMP_IP;SNMP_DNS;SNMP_VERSION;DESCRIPTION
3938
example1;Example Host Agent;First host group, second host group;Linux by Zabbix agent;127.0.0.1;localhost;;;;Example Zabbix Agent host
@@ -52,10 +51,8 @@ The following CSV columns are supported:
5251
| HOST_TAGS | List of host tags, separated by a '\|'. The tag format can be either be ``tag name`` (empty value) or ``tag name=tag value``. | |
5352
| HOST_MACROS | List of host macros, separated by a '\|'. The macro format can be either be ``{$MACRONAME}`` (empty value) or ``{$MACRONAME}=macro value``. | |
5453
| PROXY | Name of the proxy that should monitor the host. | |
55-
| PROXY_GROUP | Name of the proxy group assigned to the host. (Zabbix 7+) | |
56-
| PROXY_GROUP | Name of the proxy group that should monitor the host. (from Zabbix 7.0) |
57-
| STATUS | Host enable status 0 - (default) monitored host 1 - unmonitored host. | 0 |
58-
| TEMPLATES | List of template names to assign to the host, separated by a '\|'. Templates must exist with the specified name.| |
54+
| PROXY_GROUP | Name of the proxy group assigned to the host. (Zabbix 7+) | |
55+
| TEMPLATES | List of template names to assign to the host, separated by a '\|'. Templates must exist with the specified name. | |
5956
| AGENT_IP | Interface: Zabbix Agent IP address. | |
6057
| AGENT_DNS | Interface: Zabbix Agent DNS name. | |
6158
| AGENT_PORT | Interface: Zabbix Agent port. | 10050 |
@@ -68,17 +65,8 @@ The following CSV columns are supported:
6865
| SNMP_V3SECNAME | Interface: SNMPv3 security name. | |
6966
| SNMP_V3SECLEVEL | Interface: SNMPv3 security level. | |
7067
| SNMP_V3AUTHPASSPHRASE | Interface: SNMPv3 auth passphrase. | |
71-
| SNMP_BULK | Interface: SNMP Whether to use bulk SNMP requests. 0 - don't use bulk requests, 1 - use |1 |
7268
| SNMP_V3PRIVPASSPHRASE | Interface: SNMPv3 priv passphrase. | |
7369
| SNMP_V3AUTHPROTOCOL | Interface: SNMPv3 auth protocol. | |
74-
| SNMP_MAXREP | Interface: SNMP max repetitions. | 10 |
75-
| SNMP_V3SECNAME | Interface: SNMPv3 security name. | |
76-
| SNMP_V3SECLEVEL | Interface: SNMPv3 security level. | |
77-
| SNMP_V3AUTHPASSPHRASE | Interface: SNMPv3 authentication passphrase | |
78-
| SNMP_V3PRIVPASSPHRASE | Interface: SNMPv3 privacy passphrase | |
79-
| SNMP_V3AUTHPROTOCOL | Interface: SNMPv3 authentication protocol | |
80-
| SNMP_V3PRIVPROTOCOL | Interface: SNMPv3 privacy protocol | |
81-
| SNMP_V3CONTEXTNAME | Interface: SNMPv3 context name | |
8270
| SNMP_V3PRIVPROTOCOL | Interface: SNMPv3 priv protocol. | |
8371
| SNMP_V3CONTEXTNAME | Interface: SNMPv3 context name. | |
8472
| JMX_IP | Interface: JMX IP address. | |
@@ -158,8 +146,9 @@ The following CSV columns are supported:
158146

159147
Additional hints:
160148

161-
- The columns are case-insensitive, so ``NAME``, ``name`` and ``NaMe`` are all valid.
162-
- The columns must be in the first line of the CSV file.
163-
- The separator character must be the same as in the import dialog and can either be a semicolon, comma or a tabulator.
149+
* The columns are case-insensitive, so ``NAME``, ``name`` and ``NaMe`` are all valid.
150+
* The columns must be in the first line of the CSV file.
151+
* The separator character must be the same as in the import dialog and can either be a semicolon, comma or a tabulator.
164152

165153
The CSV file can then be imported in the same menu entry. You get a chance to preview the host list before the actual import.
154+

0 commit comments

Comments
 (0)