1
0
mirror of https://github.com/limosek/zaf.git synced 2024-11-23 10:59:06 +01:00

Added docs

This commit is contained in:
Lukas Macura 2017-01-30 14:23:41 +01:00
parent 4489b9cafe
commit 52386a624f
2 changed files with 11 additions and 2 deletions

View File

@ -26,6 +26,15 @@ So zaf is here for you :)
* Zabbix API support * Zabbix API support
* Zabbix host autoregistration automation * Zabbix host autoregistration automation
* Zabbix sender and agent glue (send results of agent checks to zabbix sender) * Zabbix sender and agent glue (send results of agent checks to zabbix sender)
* Zabbix backup support using [zaf](https://macura.cz/node/34)
* Support for wireless neighbours, clients with autodiscovery [iwx module](https://github.com/limosek/zaf-plugins/tree/master/iwx)
* Support for automated import of hosts and items from [CSV](https://github.com/limosek/zaf-plugins/tree/master/csv)
* Support for fail2ban monitoring [fail2ban](https://github.com/limosek/zaf-plugins/tree/master/fail2ban)
* Supoort for booked [booked](https://github.com/limosek/zaf-plugins/tree/master/booked)
## Roadmap
* External items support with automatic configuration of server
## How it works ## How it works
Zaf installer will do most of actions needed to monitor some specific plugin items. Configuration of plugin is very simple and text readable. Anybody can write its own plugin or make its plugin "zafable". It is enough to create *control.zaf" file. For example, look into https://github.com/limosek/zaf-plugins repository. This is default repository for zaf. Zaf installer will do most of actions needed to monitor some specific plugin items. Configuration of plugin is very simple and text readable. Anybody can write its own plugin or make its plugin "zafable". It is enough to create *control.zaf" file. For example, look into https://github.com/limosek/zaf-plugins repository. This is default repository for zaf.

View File

@ -320,8 +320,8 @@ zaf_get_item_params() {
zaf_paramstosh() { zaf_paramstosh() {
local parms local parms
local IFS local IFS
parms=$(echo $*|cut -d '[' -f 2 | cut -d ']' -f 1| tr ',' ':') parms=$(echo $*|cut -d '[' -f 2 | cut -d ']' -f 1| tr ',' '~')
IFS=:; for i in $parms; do IFS="~"; for i in $parms; do
if [ -n "$i" ]; then if [ -n "$i" ]; then
printf "$i " printf "$i "
else else