Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
/ go-statsd-zabbix Public archive

An implementation of statsd server to parse the metrics to the Zabbix Server.

License

Notifications You must be signed in to change notification settings

willyrgf/go-statsd-zabbix

Repository files navigation

go-statsd-zabbix

An implementation of statsd server to parse the metrics to the Zabbix Server.

Requirement

  • Zabbix Server >= 3.0
  • If using Asterisk >= 13.0

For build:

# auto build
git clone https://github.com/willyrgf/go-statsd-zabbix.git
cd go-statsd-zabbix
./build.sh

Or

# manual build
git clone https://github.com/willyrgf/go-statsd-zabbix.git
cd go-statsd-zabbix
go build .

For install:

git clone https://github.com/willyrgf/go-statsd-zabbix.git
cd go-statsd-zabbix
./install.sh

Configure like a daemon in FreeBSD:

cat <<EOF >> /etc/rc.conf
# gostatsd
gostatsd_enable="YES"
gostatsd_storage="Zabbix"
gostatsd_storage_url="zabbix://192.168.10.187:10051"
EOF

Enable the statsd module on Asterisk (version >= 13)

# ${astetcdir}/statsd.conf
[general]
enabled = yes                   ; When set to yes, statsd support is enabled
server = 127.0.0.1              ; server[:port] of statsd server to use.
                                ; If not specified, the port is 8125
add_newline = no                ; Append a newline to every event. This is
                                ; useful if you want to run a fake statsd
                                ; server using netcat (nc -lu 8125)

About

An implementation of statsd server to parse the metrics to the Zabbix Server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published