Giter Club home page Giter Club logo

zapish's Introduction

zapish - Zabbix API SHell binding


The zapish.inc is the file to include in own SH/bash scripts with few functions which make calling Zabbix API easy.

It consists of few functions for:

  • construct JSON string fields like string, numeric and arrays
  • the main zabbix_api function which is used to call Zabbix API
  • JSON return values parser/extractor
  • the zapish_init function which reads ~/.zapish.rc configuration file or initialize if it does not exist

At the moment zapish.inc is not fully POSIX SH compliant because it uses in few places "local" keyword to define functions local variables. However, the intention is to rewrite it to make it fully POSIX SH compliant code.

Version: (still released not yet) v1.0 rc1

Known bugs:

  • None

ToDo:

  • replace jq by JSON parser written in SH
  • add function to convert regular xml to shell quoted format used configure.import zabbix API
  • finish zapish.inc.3.xml documentation
  • more test units and examples

License

The GNU General Public License Version 2.

Copyright (C) 2017-2018 Tomasz Kłoczko [email protected]


Note: "zapish" pronunced in English sounds like Polish "zapisz" which means "write it down!" (as commanding)

zapish's People

Contributors

kloczek avatar richlv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.