limosek / zaf Goto Github PK
View Code? Open in Web Editor NEWZabbix Agent Framework
License: GNU General Public License v3.0
Zabbix Agent Framework
License: GNU General Public License v3.0
When trying to install ZAF on CENTOS7 with latest version of Zabbix we are getting an error
zaf-error: Missing one of dependend system packages: dash
How do we install the missing package?
Dear Lukas
i appreciate your code, and i think it very useful to me to
but when i use your code to back up template and host file in my zabbix server
i was a trouble as below
can you help me ?
[root@zabbixtest ~]# zaf api export-templates zabbix-xml-templates/
zaf-error: Error processing API request. (1,/tmp//zapi16777)
zaf-error: Exiting with error!
EXPECTED value GOT EOF
zaf-warning: Will backup this templates:
zaf-warning: Output dir: zabbix-xml-templates/
i think problem occur with API
my /etc/zaf.conf configuration
ZAF_PKG='rpm'
ZAF_OS=''
ZAF_OS_CODENAME=''
ZAF_AGENT_PKG='zabbix-agent'
ZAF_GIT='0'
ZAF_CURL_INSECURE='0'
ZAF_TMP_DIR='/tmp/'
ZAF_CACHE_DIR='/tmp/zafc'
ZAF_LIB_DIR='/usr/lib/zaf'
ZAF_BIN_DIR='/usr/bin'
ZAF_PLUGINS_DIR='/usr/lib/zaf/plugins'
ZAF_REPO_URL='https://raw.githubusercontent.com/limosek/zaf-plugins/1.3/'
ZAF_PROXY=''
ZAF_REPO_DIR='/usr/lib/zaf/repo'
ZAF_AGENT_CONFIG='/etc/zabbix/zabbix_agentd.conf'
ZAF_AGENT_CONFIGD='/etc/zabbix/zabbix_agentd.d'
ZAF_AGENT_BIN='/usr/sbin/zabbix_agentd'
ZAF_FILES_UID='zabbix'
ZAF_FILES_GID='zabbix'
ZAF_FILES_UMASK='0770'
ZAF_AGENT_RESTART='service zabbix-agent restart'
ZAF_SERVER_CONFIG='/etc/zabbix/zabbix_server.conf'
ZAF_SERVER_CONFIGD='/etc/zabbix/zabbix_server.conf.d/'
ZAF_SERVER_EXTSCRIPTS='/usr/lib/zabbix/externalscripts'
ZAF_SERVER_BIN='/usr/sbin/zabbix_server'
ZAF_SUDOERSD='/etc/sudoers.d'
ZAF_CROND='/etc/cron.d'
ZAF_ZBXAPI_URL='http://neodalat.com/zabbix/api_jsonrpc.php'
ZAF_ZBXAPI_USER='zabbix'
ZAF_ZBXAPI_PASS='zabbix'
ZAF_ZBXAPI_AUTHTYPE='internal'
ZAF_AGENT_OPTIONS=' Z_Server=neodalat.com Z_ServerActive=neodalat.com'
ZAF_SERVER_OPTIONS=''
neodalat.com is my zabbix server
than you so much
i tried installing zaf within a docker instance (of monitoringartist/zabbix-xxl:latest).
if you run docker exec -it containerid /bin/bash there is no user set, so it will fail about not set USER not being root. it also complains about missing curl even if which curl works. it also does not check the existence of "which" before using it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.