Skip to content

Zagent is a small/simple library for getting values from a zabbix agent running on a remote machine.

License

Notifications You must be signed in to change notification settings

sfreiberg/zagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zagent

Zagent is a small/simple library for getting values from a zabbix agent running on a remote machine.

License

Zagent is licensed under the MIT license.

Installation

go get github.com/sfreiberg/zagent

Documentation

GoDoc

Example

package main

import (
	"github.com/sfreiberg/zagent"

	"fmt"
)

func main() {
	agent := zagent.NewAgent("127.0.0.1")

	res, err := agent.Query("agent.ping", 0)
	if err != nil {
		panic(err)
	}

	fmt.Printf("%s\n", res.Data)
}

About

Zagent is a small/simple library for getting values from a zabbix agent running on a remote machine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages