Hi Every one!
I am modifying the send2opsgenie script for Zabbix and attempting to rebuild it. The build is being executed on a Red Hat Enterprise 8 server.
https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-zabbix-plugin/
I am referencing the link at the bottom of this page to extract go1.23.2.linux-amd64.tar.gz. I have also executed "export PATH=$PATH:/usr/local/go/bin" and confirmed that the go version can be displayed. However, when I run "go build send2opsgenie.go", the following message is displayed. I am not familiar with Go language and unsure what to do with this message. Could it be that there are missing modules?
The following is the error message.
send2opsgenie.go:10:2: no required module provides package github.com/alexcesaro/log: go.mod file not found in current directory or any parent directory; see 'go help modules' send2opsgenie.go:11:2: no required module provides package github.com/alexcesaro/log/golog: go.mod file not found in current directory or any parent directory; see 'go help modules'
The following is the error message.