tonymadbrain / fcgi_stat_getter

Script for getting statistics from PHP-FPM server for Zabbix external check.
https://share.zabbix.com/cat-app/web-servers/fcgi-stat-getter-monitor-php-fpm-without-nginx-proxy
10 stars 1 forks source link

fix readme #1

Open egeneralov opened 6 years ago

egeneralov commented 6 years ago

in readme we can see:

$ env GOOS=linux GOARCH=amd64 go build -v github.com/tonymadbrain/fcgi_stat_getter

but for clean users (like docker run -it --rm golang) it must be:

$ env GOOS=linux GOARCH=amd64 go get -v github.com/tonymadbrain/fcgi_stat_getter

tonymadbrain commented 6 years ago

Can you please explain what exactly you trying to achieve with docker in here?

csander83 commented 5 years ago

Согласно инструкции вот так не работает на UBUNTU 18.04: env GOOS=linux GOARCH=amd64 go build -v github.com/tonymadbrain/fcgi_stat_getter Error:

can't load package: package github.com/tonymadbrain/fcgi_stat_getter: cannot find package "github.com/tonymadbrain/fcgi_stat_getter" in any of:
    /usr/lib/go-1.10/src/github.com/tonymadbrain/fcgi_stat_getter (from $GOROOT)
    /root/go/src/github.com/tonymadbrain/fcgi_stat_getter (from $GOPATH)

Вот так работает: (it's work)

$ env GOOS=linux GOARCH=amd64 go get -v github.com/tonymadbrain/fcgi_stat_getter