2017-01-27 16:05:02 +01:00
|
|
|
|
|
|
|
Plugin: csv
|
|
|
|
|
|
|
|
Description::
|
|
|
|
CSV file reader and parser for Zabbix
|
|
|
|
It supports reading CSV and getting its data as Zabbix items
|
|
|
|
Even more it supports discovery based on CSV
|
|
|
|
::
|
|
|
|
|
|
|
|
Version: 0.1
|
|
|
|
|
|
|
|
Url: https://raw.githubusercontent.com/limosek/zaf-plugins/master/csv
|
|
|
|
Web: https://github.com/limosek/zaf-plugins/
|
|
|
|
|
|
|
|
# Maintainer
|
|
|
|
Maintainer: Lukas Macura <lukas@macura.cz>
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
Depends-dpkg: dash php-cli
|
|
|
|
Depends-opkg: busybox php
|
|
|
|
|
|
|
|
Install-bin: get_fields.php get_rows.php
|
|
|
|
Install-files: functions.inc.php
|
2017-01-30 10:31:37 +01:00
|
|
|
Install-cmd: register send
|
2017-01-27 16:05:02 +01:00
|
|
|
|
|
|
|
Item discovery.fields:
|
|
|
|
Parameters::
|
|
|
|
csv '' ''
|
|
|
|
columns '1-100' ''
|
|
|
|
delimiter ',' ''
|
|
|
|
::
|
|
|
|
Description::
|
|
|
|
Returns json field names from csv (header line)
|
|
|
|
::
|
|
|
|
Cmd:: get_fields.php
|
|
|
|
/Item
|
|
|
|
|
|
|
|
Item discovery.rows:
|
|
|
|
Parameters::
|
|
|
|
csv '' ''
|
|
|
|
columns '1-100' ''
|
2017-01-30 10:31:37 +01:00
|
|
|
rows '1-1000' ''
|
2017-01-27 16:05:02 +01:00
|
|
|
header 1 ''
|
|
|
|
delimiter ',' ''
|
|
|
|
::
|
|
|
|
Description::
|
|
|
|
Returns rows from CSV as autodiscovery json.
|
|
|
|
::
|
|
|
|
Cmd:: get_rows.php
|
|
|
|
/Item
|
|
|
|
|