From a72702343526651a6421937918c008831667f492 Mon Sep 17 00:00:00 2001 From: yseto Date: Mon, 7 Aug 2023 17:26:57 +0900 Subject: [PATCH 1/3] remove old rpm packaging on Makefile --- Makefile | 9 +- packaging/rpm/mackerel-check-plugins.spec | 603 ---------------------- 2 files changed, 1 insertion(+), 611 deletions(-) delete mode 100644 packaging/rpm/mackerel-check-plugins.spec diff --git a/Makefile b/Makefile index e87b8a9c..f2c1d34d 100644 --- a/Makefile +++ b/Makefile @@ -48,14 +48,7 @@ depends_on: @: .PHONY: rpm -rpm: rpm-v1 rpm-v2 - -.PHONY: rpm-v1 -rpm-v1: - make build GOOS=linux GOARCH=386 - rpmbuild --define "_sourcedir `pwd`" --define "_version ${VERSION}" --define "buildarch noarch" --target noarch -bb packaging/rpm/mackerel-check-plugins.spec - make build GOOS=linux GOARCH=amd64 - rpmbuild --define "_sourcedir `pwd`" --define "_version ${VERSION}" --define "buildarch x86_64" --target x86_64 -bb packaging/rpm/mackerel-check-plugins.spec +rpm: rpm-v2 .PHONY: rpm-v2 rpm-v2: rpm-v2-x86 rpm-v2-arm diff --git a/packaging/rpm/mackerel-check-plugins.spec b/packaging/rpm/mackerel-check-plugins.spec deleted file mode 100644 index 4182bc05..00000000 --- a/packaging/rpm/mackerel-check-plugins.spec +++ /dev/null @@ -1,603 +0,0 @@ -%define _binaries_in_noarch_packages_terminate_build 0 -%define _localbindir /usr/local/bin -%define __targetdir /usr/bin -%define __oldtargetdir /usr/local/bin - -Name: mackerel-check-plugins -Version: %{_version} -Release: 1 -License: Commercial -Summary: macekrel.io check plugins -URL: https://mackerel.io -Group: Hatena -Packager: Hatena -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root - -%description -mackerel.io check plugins - -%prep - -%build - -%install -%{__rm} -rf %{buildroot} - -%{__mkdir} -p %{buildroot}%{__targetdir} - -for i in aws-cloudwatch-logs aws-sqs-queue-size cert-file disk dns elasticsearch file-age file-size http jmx-jolokia ldap load log mailq masterha memcached mysql ntpoffset ping postgresql procs redis smtp solr ssh ssl-cert tcp uptime; do \ - %{__install} -m0755 %{_sourcedir}/build/check-$i %{buildroot}%{__targetdir}/; \ -done - -# put symlinks to /usr/local/bin for backward compatibility of following plugins -%{__install} -d -m755 %{buildroot}%{__oldtargetdir} -for i in elasticsearch file-age file-size http jmx-jolokia load log mailq memcached mysql ntpoffset postgresql procs redis solr tcp uptime; \ -do - ln -s ../../bin/check-$i %{buildroot}%{__oldtargetdir}/check-$i; \ -done - -%clean -%{__rm} -rf %{buildroot} - -%files -%defattr(-, root, root, 0755) -%{__targetdir}/* -%{__oldtargetdir}/* - -%changelog -* Thu Jul 13 2023 - 0.44.1 -- added build tests. (by yseto) - -* Mon Feb 27 2023 - 0.44.0 -- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (by dependabot[bot]) -- fix gosimple, ineffassign (by wafuwafu13) -- Bump github.com/containerd/containerd from 1.6.14 to 1.6.18 (by dependabot[bot]) -- check-dns: add `expected-string` option (by wafuwafu13) -- Bump github.com/aws/aws-sdk-go from 1.44.189 to 1.44.199 (by dependabot[bot]) -- Bump golang.org/x/crypto from 0.5.0 to 0.6.0 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.9.3 to 1.9.4 (by dependabot[bot]) -- Bump golang.org/x/text from 0.6.0 to 0.7.0 (by dependabot[bot]) -- Bump golang.org/x/sys from 0.4.0 to 0.5.0 (by dependabot[bot]) -- added dns plugin on package (by yseto) -- Remove `circle.yml` (by wafuwafu13) -- Bump github.com/shirou/gopsutil/v3 from 3.22.12 to 3.23.1 (by dependabot[bot]) -- Add check-dns plugin (by wafuwafu13) - -* Wed Feb 1 2023 - 0.43.0 -- fix generate docs (by yseto) -- Bump actions/checkout from 2 to 3 (by dependabot[bot]) -- Bump actions/setup-go from 2 to 3 (by dependabot[bot]) -- Bump actions/cache from 2 to 3 (by dependabot[bot]) -- Bump actions/upload-artifact from 2 to 3 (by dependabot[bot]) -- Bump actions/download-artifact from 2 to 3 (by dependabot[bot]) -- Bump github.com/aws/aws-sdk-go from 1.44.157 to 1.44.189 (by dependabot[bot]) -- Enables Dependabot version updates for GitHub Actions (by Arthur1) -- Stop build for apt v1 (by Arthur1) -- Bump github.com/fsouza/go-dockerclient from 1.9.0 to 1.9.3 (by dependabot[bot]) -- [check-http] add test.sh (by lufia) -- check-ssl-cert: add `ca-file`, `cert-file`, `key-file`, `no-check-certificate` options (by wafuwafu13) -- Bump golang.org/x/text from 0.5.0 to 0.6.0 (by dependabot[bot]) -- Bump golang.org/x/crypto from 0.4.0 to 0.5.0 (by dependabot[bot]) -- Bump github.com/shirou/gopsutil/v3 from 3.22.11 to 3.22.12 (by dependabot[bot]) -- Bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0 (by dependabot[bot]) - -* Wed Jan 18 2023 - 0.42.4 -- check-cert-file: add test (by wafuwafu13) -- test: use `T.TempDir` to create temporary test directory (by Juneezee) -- combine lint, lint-windows, fix test on windows. (by yseto) -- added compile option, fix packaging format (by yseto) -- Update dependencies (by lufia) -- Bump github.com/aws/aws-sdk-go from 1.44.116 to 1.44.157 (by dependabot[bot]) - -* Thu Oct 20 2022 - 0.42.3 -- Bump golang.org/x/text from 0.3.7 to 0.4.0 (by dependabot[bot]) -- Bump github.com/aws/aws-sdk-go from 1.44.56 to 1.44.116 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.8.3 to 1.9.0 (by dependabot[bot]) -- use Go 1.19 on build (by yseto) -- Bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.9 (by dependabot[bot]) -- Bump github.com/lib/pq from 1.10.6 to 1.10.7 (by dependabot[bot]) -- Bump github.com/mackerelio/checkers from 0.0.3 to 0.0.4 (by dependabot[bot]) -- [uptime] rewite to testable and add test (by wafuwafu13) -- go.mod from 1.16 to 1.18 (by yseto) -- added test check-file-age (by yseto) -- added test check-file-size (by yseto) -- Bump github.com/mackerelio/go-osstat from 0.2.2 to 0.2.3 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.8.1 to 1.8.3 (by dependabot[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.4.3 to 3.4.4 (by dependabot[bot]) -- Improve tests for check-mysql (by susisu) - -* Wed Jul 27 2022 - 0.42.2 -- Ignores fuse.portal partitions (by lufia) -- Bump github.com/aws/aws-sdk-go from 1.44.37 to 1.44.56 (by dependabot[bot]) -- Bump github.com/gomodule/redigo from 1.8.8 to 1.8.9 (by dependabot[bot]) -- Bump github.com/stretchr/testify from 1.7.1 to 1.8.0 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.7.10 to 1.8.1 (by dependabot[bot]) -- Bump github.com/lib/pq from 1.10.4 to 1.10.6 (by dependabot[bot]) -- Bump github.com/jmoiron/sqlx from 1.3.4 to 1.3.5 (by dependabot[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.4.2 to 3.4.3 (by dependabot[bot]) - -* Wed Jun 22 2022 - 0.42.1 -- Bump github.com/aws/aws-sdk-go from 1.43.26 to 1.44.37 (by dependabot[bot]) - -* Wed Mar 30 2022 - 0.42.0 -- [check-aws-cloudwatch-logs] stop gracefully on timeout signal (by pyto86pri) -- [check-aws-cloudwatch-logs] stop gracefully on timeout signal (by pyto86pri) -- Bump github.com/mackerelio/checkers from 0.0.2 to 0.0.3 (by dependabot[bot]) -- Bump github.com/aws/aws-sdk-go from 1.43.12 to 1.43.26 (by dependabot[bot]) -- Bump github.com/mackerelio/go-osstat from 0.2.1 to 0.2.2 (by dependabot[bot]) -- [check-aws-cloudwatch-logs] use FilterLogEventsPages API (by pyto86pri) -- Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.7.9 to 1.7.10 (by dependabot[bot]) - -* Tue Mar 15 2022 - 0.41.7 -- Bump github.com/aws/aws-sdk-go from 1.43.7 to 1.43.12 (by dependabot[bot]) -- Bump github.com/shirou/gopsutil/v3 from 3.22.1 to 3.22.2 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.7.8 to 1.7.9 (by dependabot[bot]) -- Bump github.com/aws/aws-sdk-go from 1.42.52 to 1.43.7 (by dependabot[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.4.1 to 3.4.2 (by dependabot[bot]) - -* Wed Feb 16 2022 - 0.41.6 -- Bump github.com/fsouza/go-dockerclient from 1.7.7 to 1.7.8 (by dependabot[bot]) -- Bump github.com/aws/aws-sdk-go from 1.42.44 to 1.42.52 (by dependabot[bot]) -- upgrade Go: 1.16 -> 1.17 (by lufia) -- Bump github.com/shirou/gopsutil/v3 from 3.21.12 to 3.22.1 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.7.4 to 1.7.7 (by dependabot[bot]) - -* Wed Feb 2 2022 - 0.41.5 -- Bump github.com/aws/aws-sdk-go from 1.42.35 to 1.42.44 (by dependabot[bot]) -- Bump github.com/aws/aws-sdk-go from 1.42.9 to 1.42.35 (by dependabot[bot]) -- Bump github.com/gomodule/redigo from 1.8.6 to 1.8.8 (by dependabot[bot]) -- Bump github.com/shirou/gopsutil/v3 from 3.21.10 to 3.21.12 (by dependabot[bot]) - -* Wed Jan 12 2022 - 0.41.4 -- Bump github.com/gomodule/redigo from 1.8.5 to 1.8.6 (by dependabot[bot]) -- Bump github.com/lib/pq from 1.10.3 to 1.10.4 (by dependabot[bot]) - -* Wed Dec 1 2021 - 0.41.3 -- Bump github.com/aws/aws-sdk-go from 1.40.59 to 1.42.9 (by dependabot[bot]) -- Bump github.com/mackerelio/go-osstat from 0.2.0 to 0.2.1 (by dependabot[bot]) - -* Thu Nov 18 2021 - 0.41.2 -- Bump github.com/shirou/gopsutil/v3 from 3.21.9 to 3.21.10 (by dependabot[bot]) - -* Thu Oct 14 2021 - 0.41.1 -- Bump github.com/aws/aws-sdk-go from 1.39.4 to 1.40.59 (by dependabot[bot]) -- Bump github.com/shirou/gopsutil/v3 from 3.21.6 to 3.21.9 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.7.3 to 1.7.4 (by dependabot[bot]) -- Bump github.com/lib/pq from 1.10.2 to 1.10.3 (by dependabot[bot]) -- Bump golang.org/x/text from 0.3.6 to 0.3.7 (by dependabot[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.3.0 to 3.4.1 (by dependabot[bot]) - -* Wed Oct 6 2021 - 0.41.0 -- update golib, checkers (by yseto) -- [check-log] add search-in-directory option (by yseto) -- [check-redis] migrate redis client library to redigo (by pyto86pri) - -* Wed Sep 29 2021 - 0.40.1 -- check-mysql: Closes `checkReplication` rows (by mechairoi) - -* Tue Aug 24 2021 - 0.40.0 -- [check-mysql] add --tls, --tls-root-cert and --tls-skip-verify options (by lufia) -- Bump github.com/aws/aws-sdk-go from 1.38.68 to 1.39.4 (by dependabot[bot]) - -* Tue Jul 06 2021 - 0.39.5 -- Bump github.com/shirou/gopsutil/v3 from 3.21.5 to 3.21.6 (by dependabot[bot]) -- Bump github.com/aws/aws-sdk-go from 1.38.45 to 1.38.68 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.7.2 to 1.7.3 (by dependabot[bot]) - -* Wed Jun 23 2021 - 0.39.4 -- [ci]rewrite check-memcached tests. used docker. (by yseto) -- refactor check-log tests. (by yseto) -- [ci] run tests on the workflow (by lufia) -- [check-disk] upgrade gopsutil to v3 and fix treatment for fstype=none (by susisu) - -* Thu Jun 03 2021 - 0.39.3 -- Bump github.com/aws/aws-sdk-go from 1.38.40 to 1.38.45 (by dependabot[bot]) -- Bump github.com/go-sql-driver/mysql from 1.5.0 to 1.6.0 (by dependabot[bot]) -- Bump github.com/jmoiron/sqlx from 1.3.1 to 1.3.4 (by dependabot[bot]) -- Bump github.com/jessevdk/go-flags from 1.4.0 to 1.5.0 (by dependabot[bot]) -- Bump github.com/lib/pq from 1.10.0 to 1.10.2 (by dependabot[bot]) -- Bump golang.org/x/text from 0.3.5 to 0.3.6 (by dependabot[bot]) -- Bump github.com/aws/aws-sdk-go from 1.37.30 to 1.38.40 (by dependabot[bot]) -- Bump github.com/mackerelio/go-osstat from 0.1.0 to 0.2.0 (by dependabot[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.2.4 to 3.3.0 (by dependabot[bot]) -- upgrade go1.14 -> 1.16 (by lufia) -- Bump github.com/aws/aws-sdk-go from 1.37.1 to 1.37.30 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.7.0 to 1.7.2 (by dependabot[bot]) -- Bump github.com/lib/pq from 1.9.0 to 1.10.0 (by dependabot[bot]) -- [check-mysql] Use go-mysql-driver and sqlx instead of mymysql (by nonylene) -- [ci] replace token (by yseto) -- [ci] replace mackerel-github-release (by yseto) - -* Wed Feb 03 2021 - 0.39.2 -- Bump github.com/aws/aws-sdk-go from 1.36.31 to 1.37.1 (by dependabot[bot]) -- Closes #455 check-load fix null pointer issue when critical (by hurrycaine) -- Bump github.com/aws/aws-sdk-go from 1.36.28 to 1.36.31 (by dependabot[bot]) - -* Thu Jan 21 2021 - 0.39.1 -- Bump github.com/aws/aws-sdk-go from 1.36.19 to 1.36.28 (by dependabot[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.6.6 to 1.7.0 (by dependabot[bot]) -- Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (by dependabot[bot]) -- Bump github.com/go-ole/go-ole from 1.2.4 to 1.2.5 (by dependabot[bot]) -- Bump golang.org/x/text from 0.3.4 to 0.3.5 (by dependabot[bot]) - -* Thu Jan 14 2021 - 0.39.0 -- Bump github.com/aws/aws-sdk-go from 1.35.35 to 1.36.19 (by dependabot[bot]) -- Bump github.com/lib/pq from 1.8.0 to 1.9.0 (by dependabot[bot]) -- [check-disk] Closes #440 added sort the chec-disk output (by hurrycaine) -- Bump github.com/fsouza/go-dockerclient from 1.6.5 to 1.6.6 (by dependabot[bot]) - -* Wed Dec 09 2020 - 0.38.0 -- Bump github.com/shirou/gopsutil from 2.20.8+incompatible to 2.20.9+incompatible (by dependabot-preview[bot]) -- migrate CIs to GitHub Actions (by lufia) -- Bump github.com/aws/aws-sdk-go from 1.34.32 to 1.35.35 (by dependabot[bot]) -- Bump golang.org/x/text from 0.3.3 to 0.3.4 (by dependabot-preview[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.2.3 to 3.2.4 (by dependabot-preview[bot]) -- Update Dependabot config file (by dependabot-preview[bot]) -- [check-postgresql] Add sslrootcert option (by nonylene) - -* Thu Oct 01 2020 - 0.37.1 -- Bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 (by dependabot-preview[bot]) - -* Tue Sep 15 2020 - 0.37.0 -- add arm64 architecture packages (by lufia) -- Bump github.com/shirou/gopsutil from 2.20.7+incompatible to 2.20.8+incompatible (by dependabot-preview[bot]) -- Bump github.com/aws/aws-sdk-go from 1.33.17 to 1.34.22 (by dependabot-preview[bot]) -- [check-log] stabilize time-dependent tests (by astj) -- [check-http]adding more options to check-http (by fgouteroux) -- [check-load]fix check-load percpu output (by fgouteroux) -- Bump github.com/shirou/gopsutil from 2.20.6+incompatible to 2.20.7+incompatible (by dependabot-preview[bot]) -- Bump github.com/aws/aws-sdk-go from 1.33.12 to 1.33.17 (by dependabot-preview[bot]) -- Bump github.com/lib/pq from 1.7.1 to 1.8.0 (by dependabot-preview[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.1.10 to 3.2.3 (by dependabot-preview[bot]) - -* Wed Jul 29 2020 - 0.36.0 -- [check-aws-sqs-queue-size] Replace GoAMZ with aws-sdk-go (by astj) -- Bump github.com/aws/aws-sdk-go from 1.31.11 to 1.33.12 (by dependabot-preview[bot]) -- Bump github.com/shirou/gopsutil from 2.20.4+incompatible to 2.20.6+incompatible (by dependabot-preview[bot]) -- Bump github.com/mattn/go-zglob from 0.0.1 to 0.0.3 (by dependabot-preview[bot]) -- Bump github.com/lib/pq from 1.7.0 to 1.7.1 (by dependabot-preview[bot]) - -* Mon Jul 20 2020 - 0.35.0 -- Bump github.com/lib/pq from 1.6.0 to 1.7.0 (by dependabot-preview[bot]) -- Bump golang.org/x/text from 0.3.2 to 0.3.3 (by dependabot-preview[bot]) -- Bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (by dependabot-preview[bot]) -- [check-ssl-cert] check intermediate- and root-certificates (by lufia) -- aws-sdk-go 1.31.11 (by astj) -- Bump github.com/aws/aws-sdk-go from 1.30.26 to 1.31.7 (by dependabot-preview[bot]) -- Bump github.com/lib/pq from 1.5.2 to 1.6.0 (by dependabot-preview[bot]) -- Bump github.com/stretchr/testify from 1.5.1 to 1.6.0 (by dependabot-preview[bot]) -- Go 1.14 (by ne-sachirou) -- [check-postgresql] add test.sh (by lufia) -- Bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.26 (by dependabot-preview[bot]) - -* Thu May 14 2020 - 0.34.1 -- Bump github.com/lib/pq from 1.3.0 to 1.5.2 (by dependabot-preview[bot]) -- ignore diffs of go.mod and go.sum (by lufia) -- Bump github.com/shirou/gopsutil from 2.20.3+incompatible to 2.20.4+incompatible (by dependabot-preview[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.1.8 to 3.1.10 (by dependabot-preview[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.6.3 to 1.6.5 (by dependabot-preview[bot]) -- Bump github.com/aws/aws-sdk-go from 1.29.30 to 1.30.9 (by dependabot-preview[bot]) -- Bump github.com/shirou/gopsutil from 2.20.2+incompatible to 2.20.3+incompatible (by dependabot-preview[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.1.7 to 3.1.8 (by dependabot-preview[bot]) -- Add documents for testing (by lufia) - -* Fri Apr 03 2020 - 0.34.0 -- Bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.30 (by dependabot-preview[bot]) -- Bump github.com/beevik/ntp from 0.2.0 to 0.3.0 (by dependabot-preview[bot]) -- Bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.24 (by dependabot-preview[bot]) -- [check-redis] Add password support for check-redis (by n-rodriguez) -- Bump github.com/aws/aws-sdk-go from 1.28.7 to 1.29.14 (by dependabot-preview[bot]) -- Bump github.com/shirou/gopsutil from 2.20.1+incompatible to 2.20.2+incompatible (by dependabot-preview[bot]) -- Bump github.com/fsouza/go-dockerclient from 1.6.0 to 1.6.3 (by dependabot-preview[bot]) -- Bump github.com/stretchr/testify from 1.4.0 to 1.5.1 (by dependabot-preview[bot]) -- Bump github.com/go-ldap/ldap/v3 from 3.1.5 to 3.1.7 (by dependabot-preview[bot]) -- [check-aws-cloudwatch-logs] Added option to specify AWS API retry count (by masahide) -- [check-aws-cloudwatch-logs] fix removing of quote (") implicitly from few options (by lufia) -- Bump github.com/shirou/gopsutil from 2.19.12+incompatible to 2.20.1+incompatible (by dependabot-preview[bot]) -- rename: github.com/motemen/gobump -> github.com/x-motemen/gobump (by lufia) - -* Wed Jan 22 2020 - 0.33.1 -- Bump github.com/aws/aws-sdk-go from 1.27.0 to 1.28.7 (by dependabot-preview[bot]) -- [check-aws-cloudwatch-logs] Use "errors" instead of "github.com/pkg/errors" (by astj) -- Bump github.com/shirou/gopsutil from 2.19.11+incompatible to 2.19.12+incompatible (by dependabot-preview[bot]) -- Bump github.com/aws/aws-sdk-go from 1.26.7 to 1.27.0 (by dependabot-preview[bot]) -- [check-log] When specified multiple exclude pattern, perform search that excludes all conditions. (by tukaelu) -- Bump github.com/aws/aws-sdk-go from 1.26.5 to 1.26.7 (by dependabot-preview[bot]) -- Bump github.com/stretchr/testify from 1.3.0 to 1.4.0 (by dependabot-preview[bot]) -- add .dependabot/config.yml (by lufia) -- refactor Makefile and update dependencies (by lufia) - -* Thu Nov 21 2019 - 0.33.0 -- [check-log] Make building the error lines efficiently (by ygurumi) -- [check-log] Ignore broken/unexpected json on reading state (by astj) - -* Thu Oct 24 2019 - 0.32.1 -- Build with Go 1.12.12 - -* Wed Oct 02 2019 - 0.32.0 -- [doc]add repository policy (by lufia) -- add --user to check-http (by lausser) -- Update modules (by ne-sachirou) -- [check-procs] If more than one pattern is specified, find processes that meet any of the conditions. (by tukaelu) - -* Mon Jul 22 2019 - 0.31.1 -- Build with Go 1.12 (by astj) - -* Tue Jun 11 2019 - 0.31.0 -- Support go modules (by astj) - -* Wed May 08 2019 - 0.30.0 -- [check-aws-cloudwatch-logs] make handling a state file more safe (by lufia) -- [check-log] make handling a state file more safe (by lufia) -- [check-ldap] Update go-ldap to v3 (by nonylene) - -* Wed Mar 27 2019 - 0.29.0 -- Add check-ping (by a-know) -- [ntservice] Enable to specify service name to exclude from match (by a-know) -- Add NTP stratum check to check-ntpoffset (by EijiSugiura, susisu) -- [check-http] add --proxy option (by astj) - -* Wed Feb 13 2019 - 0.28.0 -- Improve READMEs (by a-know) -- added support for netbsd on check-load (by paulbsd) -- [check-cert-file] improve README (by a-know) -- [check-log][check-windows-eventlog] Improve atomic write (by itchyny) -- [check-log]stop reading logs on SIGTERM (by lufia) - -* Thu Jan 10 2019 - 0.27.0 -- [check-disk] Do not check inodes% along with disk% (by susisu) -- [check-disk] skip checks if there are no inodes (by susisu) - -* Mon Nov 26 2018 - 0.26.0 -- [check-http] Support --connect-to option (by astj) - -* Mon Nov 12 2018 - 0.25.0 -- [check-redis] add replication subcommand (by yuuki) - -* Wed Oct 17 2018 - 0.24.0 -- add User-Agent header to http check plugins (by astj) - -* Thu Sep 27 2018 - 0.23.0 -- add aws-cloudwatch-logs (by syou6162) -- Add CloudWatch Logs plugin (by itchyny) - -* Thu Sep 13 2018 - 0.22.1 -- [check-log] Trace an old file after logrotation with the inode number (by yuuki) -- [check-log] Jsonize status file (by yuuki) -- Use Go 1.11 (by astj) -- [check-http] Add --max-redirects option (by nonylene) - -* Thu Aug 30 2018 - 0.22.0 -- Add check-smtp (by shiimaxx) - -* Wed Jul 25 2018 - 0.21.2 -- modify message check-windows-eventlog (by daiksy) - -* Wed Jun 20 2018 - 0.21.1 -- [check-http] Set Host header via req.Host (by nonylene) - -* Thu Jun 07 2018 - 0.21.0 -- add check-ssl-cert (by Songmu) -- Add feature use ntp server (by netmarkjp) -- [check-mysql] add unix socket option (by sugy) - -* Wed May 16 2018 - 0.20.0 -- [check-log] Add option to suppress pattern display (by k-hal) -- [check-windows-eventlog] fix README - Some of the listed EVENTTYPEs can not be detected as alerts (by a-know) -- [check-procs][check-cert-file] Fix duplicated output of usage with --help argument (by itchyny) - -* Wed Mar 28 2018 - 0.19.0 -- add check-ldap (by taku-k) -- [check-http] add regexp pattern option (by taku-k) - -* Thu Mar 15 2018 - 0.18.0 -- [check-http] add host header option (by taku-k) - -* Thu Mar 01 2018 - 0.17.1 -- [check-log]improve skip bytes when file size is zero (by hayajo) - -* Thu Feb 08 2018 - 0.17.0 -- [check-procs] fix `getProcs` error handling (by mechairoi) -- [ntpoffset] Refine NTP daemon detection and add tests (by Songmu) -- [check-tcp] add -W option (by dozen) -- [check-procs] Error handling is required (by mechairoi) -- Avoid race condition in checkhttp.Run() (by astj) -- [check-http] Expose checkhttp.Run due for using check-http as a library (by aereal) - -* Tue Jan 23 2018 - 0.16.0 -- Setting password via environment variable (by hayajo) -- update rpm-v2 task for building Amazon Linux 2 package (by hayajo) - -* Wed Jan 10 2018 - 0.15.0 -- [check-mysql] add readonly subcommand (by ichirin2501) -- [uptime] use go-osstat/uptime instead of golib/uptime for getting more accurate uptime (by Songmu) - -* Thu Oct 26 2017 - 0.14.1 -- fix check-disk options: -x, -X, -p, -N (by plaster) - -* Thu Oct 12 2017 - 0.14.0 -- [check-log]Show matched filenames when we use `--return` option (by syou6162) - -* Wed Sep 27 2017 - 0.13.0 -- build with Go 1.9 (by astj) -- [check-log] Add check-first option and skip the log file on the first run on default (by edangelion) - -* Wed Aug 23 2017 - 0.12.0 -- add check-disk to package (by astj) -- add check-disk (by edangelion) -- [check-postgresql] Add dbname to postgresql-setting (by edangelion) - -* Wed Aug 02 2017 - 0.11.1 -- Remove check-ssh binary (by astj) - -* Wed Jul 26 2017 - 0.11.0 -- [check-http] Add -i flag to specify source IP (by mattn) -- [check-http] Add -s option to map HTTP status (by mattn) - -* Wed Jun 07 2017 - 0.10.4 -- v2 packages (rpm and deb) (by Songmu) -- [check-log] When specified multiple pattern, perform search that satisfies all conditions (by a-know) - -* Tue May 16 2017 - 0.10.3 -- [ntpoffset] support chronyd (by Songmu) -- [check-ssh] fix the problem that check-ssh cannot invoke SSH connection (by astj) - -* Mon May 15 2017 - 0.10.2 -- [experimental] update release scripts (by Songmu) - -* Thu Apr 27 2017 - 0.10.1-1 -- use wmi query instead of running wmic command (by mattn) -- Use golib/pluginutil.PluginWorkDir() (by astj) - -* Thu Apr 06 2017 - 0.10.0-1 -- bump go to 1.8 (by astj) - -* Mon Mar 27 2017 - 0.9.7-1 -- check lower-case driver letters (by mattn) - -* Wed Mar 22 2017 - 0.9.6-1 -- Change directory structure convention of each plugin (by Songmu) -- run tests under ./check-XXX/lib (by astj) -- fix test for AppVayor (by daiksy) - -* Thu Mar 09 2017 - 0.9.5-1 -- add appveyor.yml and fix failing tests on windows (by Songmu) -- [check-tcp] connect timeout (by Songmu) -- [check-tcp] [bugfix] fix decimal threshold value handling (by Songmu) - -* Wed Feb 22 2017 - 0.9.4-1 -- ensure close temporary file in writeFileAtomically (by itchyny) -- Write the file in same directory (by mattn) - -* Wed Feb 08 2017 - 0.9.3-1 -- fix matching for 'Audit Success' and 'Audit Failure' (by mattn) - -* Wed Jan 25 2017 - 0.9.2-1 -- [check-windows-eventlog] add --source-exclude, --message-exclude and --event-id (by mattn, daiksy) -- [check-windows-eventlog] remove --event-id and add --event-id-pattern, --event-id-exclude (by mattn) - -* Wed Jan 11 2017 - 0.9.1-1 -- [check-log] support glob in --file option (by astj) - -* Wed Jan 04 2017 - 0.9.0-1 -- add check-windows-eventlog (by daiksy) -- [check-log]fix encoding option (by daiksy) - -* Tue Nov 29 2016 - 0.8.1-1 -- Fix state in check-procs (by itchyny) -- Fix the links to the document (by itchyny) -- remove checking Ignore (by mattn) -- [check-log] fix state file path (fix wrong slice copy) (by Songmu) - -* Thu Oct 27 2016 - 0.8.0-1 -- [check-log] improve Windows support (by daiksy) - -* Tue Oct 18 2016 - 0.7.0-1 -- Add option for skip searching logfile content if logfile does not exist (by a-know) -- [check-log] write file atomically when saving read position into state file (by Songmu) - -* Wed Sep 07 2016 - 0.6.3-1 -- fix check-mysql replication to detect IO thread 'Connecting' (by hiroakis) -- [file-age] Remove unnecessary newline (by b4b4r07) - -* Thu Jun 23 2016 - 0.6.2-1 -- Fixed argument parser error: (by karupanerura) - -* Fri May 13 2016 - 0.6.1-1 -- no panic check-masterha when not found the targets, and refactoring (by karupanerura) - -* Tue May 10 2016 - 0.6.0-1 -- supported gearman ascii protocol for check-tcp (by karupanerura) -- added check-masterha command to check masterha status (by karupanerura) -- Plugin for checking AWS SQS queue size (by hiroakis) -- fix: rpm should not include dir (by stanaka) -- added ssh checker (by karupanerura) -- remove 'golang.org/x/tools/cmd/vet' (by y-kuno) -- [uptime/procs] `--warn-over/under` is deprecated. use `--warning-over/under` instead (by Songmu) -- add aws-sqs-queue-size, cert-file, masterha and ssh into package (by Songmu) -- bump up go version to 1.6.2 (by stanaka) - -* Fri Mar 25 2016 - 0.5.2 -- Revert "use /usr/bin/check-*" (by Songmu) - -* Fri Mar 25 2016 - 0.5.1 -- use /usr/bin/check-* (by naokibtn) -- use GOARCH=amd64 for now (by Songmu) - -* Wed Mar 02 2016 - 0.5.0 -- add check-solr (by supercaracal) -- add check-jmx-jolokia (by y-kuno) -- check-memcached (by naokibtn) -- Add scheme option to check-elasticsearch (by yano3) -- Check file size (by hiroakis) -- Add uptime sub command to check-mysql (by kazeburo) -- add check-cert-file (by kazeburo) -- [tcp] Add --no-check-certificate (by kazeburo) -- Fixed slurp. conn.read returns content with EOF (by kazeburo) -- Fix check-tcp IPv6 testcase on OSX(?) (by hanazuki) -- check-redis: Report critical if master_link_status is down (by hanazuki) -- check-redis: Fixed panic (by yoheimuta) -- check-procs: Fixed the counting logic with -p (by yoheimuta) -- add check-uptime (by Songmu) -- add file-size, jmx-jolokia, memcached, solr, uptime into package config (by Songmu) - -* Thu Feb 04 2016 - 0.4.0 -- Fix duplicated help message (by hfm) -- add qmail queue check to check-mailq (by tnmt) -- Add check-elasticsearch (by naokibtn) -- Add check-redis (by naokibtn) -- check-procs: check PPID (by hfm) - -* Thu Jan 07 2016 - 0.3.1 -- build with go1.5 (by Songmu) - -* Wed Jan 06 2016 - 0.3.0 -- add check-postgresql (by supercaracal) -- [check-ntpoffset] work on ntp 4.2.2 (by naokibtn) -- check-file-age: show time in message (by naokibtn) -- add --no-check-certificate options to check_http (by cl-lab-k) -- add check-mailq, currently only available for postfix. (by tnmt) -- add check-mailq and check-postgresql into package (by Songmu) - -* Tue Dec 08 2015 - 0.2.2 -- A plugin to check ntpoffset (by hiroakis) -- Check tcp unix domain socket (by tkuchiki) -- [check-tcp] add ipv6 support (by Songmu) - -* Wed Nov 25 2015 - 0.2.1 -- Fix bugs of check-log (by Songmu) -- [check-log] add --no-state option (by Songmu) - -* Fri Nov 20 2015 - 0.2.0 -- [check-procs] support `--critical-over=0` and `--warn-over=0` (by Songmu) -- add check-tcp (by Songmu) - -* Thu Nov 12 2015 - 0.1.1 -- check-procs for windows (by mechairoi) -- [bug] [check-log] fix large file handling (by matsuzj) - -* Thu Nov 05 2015 - 0.1.0 -- check-log (by Songmu) -- Add check-log in the packages (by Songmu) - -* Mon Oct 26 2015 - 0.0.5 -- Add mysql in packages - -* Mon Oct 26 2015 - 0.0.4 -- Refactor Mysql checks (by Songmu) -- Add Mysql checks (by hiroakis) - -* Thu Oct 15 2015 - 0.0.3 -- reduce binary size by using ldflags (by Songmu) -- Remove cgo dependency from check-load (by Songmu) -- Add check-load in the packages - -* Thu Oct 08 2015 - 0.0.2 -- fix MatchSelf behaviour (by Songmu) - -* Wed Oct 07 2015 - 0.0.1 -- Fix release tools - -* Wed Oct 07 2015 - 0.0.0 -- Initial release From 95c7e56961595736c584c35114f6896624336c13 Mon Sep 17 00:00:00 2001 From: yseto Date: Mon, 7 Aug 2023 17:27:37 +0900 Subject: [PATCH 2/3] for debug --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e10a41bd..db677bcc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,7 +72,7 @@ jobs: build: needs: test runs-on: ubuntu-latest - if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') +# if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') steps: - run: | sudo apt-get update From 2ffd27bf5e736f0423f732ec24b16c78c8a00d51 Mon Sep 17 00:00:00 2001 From: yseto Date: Mon, 14 Aug 2023 17:10:44 +0900 Subject: [PATCH 3/3] Revert "for debug" This reverts commit 95c7e56961595736c584c35114f6896624336c13. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db677bcc..e10a41bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,7 +72,7 @@ jobs: build: needs: test runs-on: ubuntu-latest -# if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') + if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') steps: - run: | sudo apt-get update