zabbix-api-caller

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2017 License: MIT Imports: 13 Imported by: 0

README

zabbix-api-caller

zabbix api with golang

Installation

Linux

$ curl -sLO https://github.com/tkuchiki/zabbix-api-caller/releases/download/v0.0.2/go-zabbix-api-caller-linux-amd64.zip
$ unzip go-zabbix-api-caller-linux-amd64.zip
$ mv go-zabbix-api-caller-linux-amd64 zabbix-api-caller

Build

go get
go build -o zabbix-api-caller main.go

Usage

$ ./zabbix-api-caller --help
usage: zabbix-api-caller --file=FILE [<flags>] <command> [<args> ...]

Flags:
  --help           Show help (also see --help-long and --help-man).
  -f, --file=FILE  Config file
  -h, --hostname=HOSTNAME
                   Hostname
  --ipaddr=IPADDR  IP Address
  --version        Show application version.

Commands:
  help [<command>...]
    Show help.

  host status enable
    Enable host status

  host status disable
    Disable Host status

  host register
    Regist host

  host delete
    Delete host

  host list
    List host

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL