go-check-plugins
Check Plugins for monitoring written in golang
File Explorer
Download Latest Version (.zip)- create-release-pr.yml
- test.yml
- dependabot.yml
- check-aws-cloudwatch-logs.go
- check-aws-cloudwatch-logs_test.go
- check-aws-cloudwatch-logs_unix.go
- main.go
- README.md
- check-aws-sqs-queue-size.go
- check-aws-sqs-queue-size_unix.go
- main.go
- README.md
- check-cert-file.go
- check-cert-file_test.go
- main.go
- README.md
- check-disk.go
- check-disk_test.go
- main.go
- README.md
- test.sh
- UPDATE.md
- check_dns.go
- check_dns_test.go
- nameserver.go
- nameserver_windows.go
- main.go
- README.md
- check_elasticsearch.go
- main.go
- README.md
- check_file_age.go
- main.go
- README.md
- test.sh
- file3
- file2
- file1
- check_file_size.go
- check_file_size_test.go
- main.go
- README.md
- test.sh
- check_http.go
- check_http_test.go
- index.html
- main.go
- README.md
- test.sh
- check_jmx_jolokia.go
- main.go
- README.md
- check_ldap.go
- check_ldap_test.go
- main.go
- README.md
- test.sh
- UPDATE.md
- check_load.go
- check_load_darwin.go
- check_load_linux.go
- check_load_netbsd.go
- check_load_windows.go
- main.go
- README.md
- invalid_json.json
- old-state.txt
- plain.txt
- unexpected_json.json
- check-log.go
- check-log_state_test.go
- check-log_test.go
- check-log_unix.go
- check-log_unix_test.go
- check-log_windows.go
- main.go
- README.md
- check_mailq.go
- main.go
- README.md
- masterha.go
- check_masterha.go
- check_masterha_repl.go
- check_masterha_repl_test.go
- check_masterha_ssh.go
- check_masterha_ssh_test.go
- check_masterha_status.go
- check_masterha_status_test.go
- check_masterha_test.go
- main.go
- README.md
- check-memcached.go
- main.go
- README.md
- test.sh
- check-mysql.go
- connection.go
- readonly.go
- replication.go
- uptime.go
- init.sql
- docker-compose.yml
- test.sh
- init.sql
- docker-compose.yml
- test.sh
- main.go
- README.md
- test-tls.sh
- test.sh
- wait.sh
- check-ntpoffset.go
- check-ntpoffset_test.go
- main.go
- README.md
- check_ntservice.go
- check_ntservice_others.go
- check_ntservice_test.go
- check_ntservice_windows.go
- main.go
- README.md
- check-ping.go
- check-ping_test.go
- main.go
- README.md
- check-postgresql.go
- connection.go
- main.go
- README.md
- test.sh
- UPDATE.md
- check_procs.go
- check_procs_test.go
- check_procs_unix.go
- check_procs_windows.go
- main.go
- README.md
- check-redis.go
- main.go
- README.md
- test.sh
- UPDATE.md
- check-smtp.go
- check-smtp_test.go
- main.go
- README.md
- check_solr.go
- ping.go
- main.go
- README.md
- check-ssh.go
- main.go
- README.md
- check-ssl-cert.go
- check-ssl-cert_test.go
- main.go
- README.md
- check-tcp.go
- check-tcp_test.go
- main.go
- README.md
- check-uptime.go
- check-uptime_test.go
- main.go
- README.md
- syscall_windows.go
- zsyscall_windows.go
- check-windows-eventlog.go
- check-windows-eventlog_other.go
- check_windows_eventlog_test.go
- main.go
- README.md
- format
- include-binaries
- changelog
- compat
- control
- copyright
- rules
- mackerel-check-plugins-v2.spec
- config.json
- dummy-empty.tar.gz
- convention.t
- plugins.t
- gen_mackerel_check.pl
- packagize.pl
- .gitignore
- .golangci.yml
- CHANGELOG.md
- go.mod
- go.sum
- LICENSE
- mackerel-check.go
- mackerel-check_gen.go
- Makefile
- README.md
- test.bash
# Installation Guide
1. Get the code
git clone https://github.com/mackerelio/go-check-plugins
Downloads the entire project code from GitHub to your computer.
cd go-check-plugins
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- APT (Debian/Ubuntu κ³μ΄) Built into Debian/Ubuntu-based Linux distributions.
apt-get install mackerel-check-plugins
Installs directly from the APT package repository (Debian/Ubuntu-based).
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Docker
EasyPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker compose -f check-mysql/test_57/docker-compose.yml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
4. Go
MediumPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
5. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
