https://github.com/tkuchiki/zabbix-api-caller
zabbix api with golang
https://github.com/tkuchiki/zabbix-api-caller
api cli golang zabbix
Last synced: 2 months ago
JSON representation
zabbix api with golang
- Host: GitHub
- URL: https://github.com/tkuchiki/zabbix-api-caller
- Owner: tkuchiki
- License: mit
- Created: 2015-08-10T13:00:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-14T07:09:07.000Z (almost 8 years ago)
- Last Synced: 2025-01-25T09:11:02.119Z (4 months ago)
- Topics: api, cli, golang, zabbix
- Language: Go
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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:
--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 [...]
Show help.host status enable
Enable host statushost status disable
Disable Host statushost register
Regist hosthost delete
Delete hosthost list
List host```