Open k2name opened 1 year ago
I am not a go developer either, but used an half hour to figure, that you can just run the following in the directory, after changing the location of the kingpin.v2 requirement from gopkg.in/alecthomas/kingpin.v2
to github.com/alecthomas/kingpin/v2
in zabbix-passenger.go
And then
go mod init zabbix-passenger
go mod tidy
go build zabbix-passenger.go
But the build was for no reason, (needed it for freebsd) - because this small app did not give me enough usefull information from passenger-status
Thank you for taking the time to debug this @lauer. I'm afraid we're going to archive this project. Feel free to continue on it
(and use passenger-status --show=json
)
~/t/zabbix-passenger (master)> go version
go version go1.19 linux/amd64
~/t/zabbix-passenger (master)> go build zabbix-passenger.go
Maybe need add go.mod to repo? Thank.