mackerel-agent is an agent program to post your hosts' metrics to mackerel.io.

mackerel-agent

agent-si

mackerel-agent is a client software for Mackerel. Mackerel is an online visualization and monitoring service for servers.

Once mackerel-agent is installed, it runs the following tasks on the installed host in foreground:

  • register your hosts to Mackerel
  • collect specs and metrics of those hosts and post them to Mackerel

Collected information will be visualized on Mackerel.

PREREQUISITES

You have to create an organization on Mackerel at first. After that, specify apikey value in mackerel-agent.conf with the following command.

% mackerel-agent init -apikey {{YOUR_APIKEY}}

SYNOPSIS

Build and Run the mackerel-agent.

% make build
% make run

You can run the following commands instead of using make.

% go get -d github.com/mackerelio/mackerel-agent
% go build -o build/mackerel-agent \
  -ldflags="\
    -X github.com/mackerelio/mackerel-agent/version.GITCOMMIT `git rev-parse --short HEAD` \
    -X github.com/mackerelio/mackerel-agent/version.VERSION   `git describe --tags --abbrev=0 | sed 's/^v//' | sed 's/\+.*$$//'` " \
  github.com/mackerelio/mackerel-agent
./build/mackerel-agent -conf=mackerel-agent.conf

On Windows

Use .bat files instead of make commands.

% build.bat

Test

Test mackerel-agent to confirm it's working properly.

The agent will collect information about the host on which it has been installed.

% make test

License

Copyright 2014 Hatena Co., Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Comments
  • Multi platform support

    Multi platform support

    This is experiment branch to support multi platform.

    • Some refactoring to separate metrics/spec generators
    • Separates metrics/spec generators for linux to independent packages
  • fatal error: s.allocCount != s.nelems && freeIndex == s.nelems

    fatal error: s.allocCount != s.nelems && freeIndex == s.nelems

    I received this error twice. Is there a way to avoid this?

    I instlled mackerel-agent from binary. Ver: 042.3 CPU: 1 x ARM926EJ-S rev 4 (v5l) OS: GNU/Linux 3.10.37-3.10.37-klk4

  • Run once and output results to stdout

    Run once and output results to stdout

    Add -once option that mackerel-agent runs once and outputs results to stdout. This option is useful for developing and debugging mackerel-agent itself and plugins.

    Example of output is as follows.

    # build/mackerel-agent -once -conf=mackerel-agent.conf | jq .
    2015/03/08 12:46:46 INFO main Starting mackerel-agent version:0.14.3, rev:85bd358
    2015/03/08 12:46:46 INFO command Collecting metrics may take one minutes.
    {
      "host": {
        "interfaces": null,
        "meta": {
          "agent-name": "mackerel-agent/0.14.3 (Revision 85bd358)",
          "agent-revision": "85bd358",
          "agent-version": "0.14.3",
          "cpu": [
            {
              "model_name": "Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz\n"
            }
          ],
          ...
    }
    
  • Loosen the conditions of delaying report of check monitering.

    Loosen the conditions of delaying report of check monitering.

    • Change the log level when delaying report of check monitering.
      • I want to know if the report is delayed, even if it's not DEBUG level.
    • Loosen the conditions of delaying report of check monitering.
      • In my environment, the timing when the number of reports is greater than the number of check monitors occurs once or twice an hour.
      • If the number of check monitoring is high and the number of reports is high, waiting in 30 seconds is fatal, and the number of reports will not decrease. The number of reports will continue to increase.
  • graceful shutdown

    graceful shutdown

    Wait for termination until postQueue is empty up to 30 seconds.

    This patch is not perfect because it doesn't care postDelay, but good enough for first step.

  • filesystem: failed to execute df command in OpenWrt (with BusyBox)

    filesystem: failed to execute df command in OpenWrt (with BusyBox)

    In OpenWrt, mackerel-agent fails to execute df command and prints a lot of warnings.

    log:

    2019/06/14 10:56:01 WARNING <util.filesystem> 'df -Pkl' command exited with a non-zero status: 1: "df: unrecognized option: l\nBusyBox v1.30.0 () multi-call binary.\n\nUsage: df [-PkmhT] [FILESYSTEM]...\n\nPrint filesystem usage statistics\n\n\t-P\tPOSIX output format\n\t-k\t1024-byte blocks (default)\n\t-m\t1M-byte blocks\n\t-h\tHuman readable (e.g. 1K 243M 2G)\n\t-T\tPrint filesystem type\n"
    ...
    

    BusyBox df in OpenWrt outputs df: unrecognized option: l as a warning, so it seems that it has slipped through the check in func init().

  • Set environment variables for plugins

    Set environment variables for plugins

    Set environment variables when running plugin.

    The following is a config example.

    [plugin.metrics.mysql3]
    command = "ruby /path/to/your/plugin/mysql.rb"
    env = { "MYSQL_USERNAME" = "user", "MYSQL_PASSWORD" = "password" }
    
    [plugin.checks.heartbeat2]
    command = "heartbeat.sh"
    env = { "ES_HOSTS" = "10.45.3.2:9220,10.45.3.1:9230" }
    action = { command = "cardiac_massage", user = "doctor", env = { "NAME_1" = "value_1", "NAME_2" = "value_2", "NAME_3" = "value_3" } }
    
    [plugin.metadata.hostinfo2]
    command = "hostinfo.sh"
    env = { "NAME_1" = "value_1" }
    
  • Add an option of timeout duration for executing command

    Add an option of timeout duration for executing command

    What

    This pull-request introduces the option for specifying a duration after which a command execution will be timeout.

    Why

    Running a slightly heavy check command will be easily timeout, so users should be able to adjust the timeout duration.

  • Show CPU/SoC model name on Linux/MIPS

    Show CPU/SoC model name on Linux/MIPS

    When using mackerel-agent on Linux/MIPS, the CPU/SoC model name is "undefined" in the Mackerel console.

    image

    On Linux/MIPS, the output of /proc/cpuinfo is as follows:

    # cat /proc/cpuinfo
    system type		: Atheros AR7242 rev 1
    machine			: Buffalo BHR-4GRV
    processor		: 0
    cpu model		: MIPS 24Kc V7.4
    BogoMIPS		: 265.42
    wait instruction	: yes
    microsecond timers	: yes
    tlb_entries		: 16
    extra interrupt vector	: yes
    hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
    isa			: mips1 mips2 mips32r1 mips32r2
    ASEs implemented	: mips16
    shadow register sets	: 1
    kscratch registers	: 0
    package			: 0
    core			: 0
    VCED exceptions		: not available
    VCEI exceptions		: not available
    

    This is a slightly different result than the Linux/x86_64 architecture. The CPU/SoC model name is displayed as "system type", however mackerel-agent doesn't support it.

    This behavior can also be confirmed by checking the linux source code: arch/mips/kernel/proc.c .

  • Add metadata plugin feature

    Add metadata plugin feature

    previous pull request: #331

    This pull request adds support for metadata plugin. User now can configure metadata plugins and mackerel-agent posts the metadata periodically.

  • Custom metrics input values should be split with space not tab

    Custom metrics input values should be split with space not tab

    According to the Mackerel document, custom metrics plugins should output tab-separated values as follows;

    {metric name}\t{metric value}\t{epoch seconds}
    

    but Sensu plugins using Sensu::Plugin::Metric::CLI::Graphite output space-separated values;

    https://github.com/sensu-plugins/sensu-plugin/blob/master/lib/sensu-plugin/metric/cli.rb#L26

    so if you say the format is "compatible with sensu", the parser should split values with spaces not tabs or both of them.

    https://github.com/mackerelio/mackerel-agent/blob/master/metrics/plugin.go#L231

  • Bump github.com/mackerelio/mackerel-agent-plugins from 0.72.1 to 0.74.0 in /wix

    Bump github.com/mackerelio/mackerel-agent-plugins from 0.72.1 to 0.74.0 in /wix

    Bumps github.com/mackerelio/mackerel-agent-plugins from 0.72.1 to 0.74.0.

    Release notes

    Sourced from github.com/mackerelio/mackerel-agent-plugins's releases.

    v0.74.0

    No release notes provided.

    v0.73.0

    • Fix Elasticsearch plugin. #950
    • Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 #946
    • [mongodb] add metric-key-prefix option #945

    v0.72.2

    • Bump github.com/aws/aws-sdk-go from 1.44.56 to 1.44.116 #942
    • Bump github.com/fsouza/go-dockerclient from 1.8.3 to 1.9.0 #941
    • added timeout on lint #935
    • Bump github.com/urfave/cli from 1.22.9 to 1.22.10 #933
    • Bump github.com/lib/pq from 1.10.5 to 1.10.7 #931
    • [uptime] Add tests #929
    • go.mod from 1.16 to 1.18 #928
    • Bump github.com/mackerelio/go-mackerel-plugin from 0.1.3 to 0.1.4 #927
    • Bump github.com/fsouza/go-dockerclient from 1.8.1 to 1.8.3 #925
    • Bump github.com/mackerelio/go-osstat from 0.2.2 to 0.2.3 #924
    • Improve test #923
    • Bump github.com/go-ldap/ldap/v3 from 3.4.3 to 3.4.4 #917
    • [aws-ec2-ebs] fix calcurate procedure of Nitro instance #916
    • [plugin-aws-ec2-ebs] fix misuse of period #915
    • Bump github.com/mackerelio/go-mackerel-plugin-helper from 0.1.1 to 0.1.2 #914
    • Bump github.com/gosnmp/gosnmp from 1.34.0 to 1.35.0 #889
    • Bump github.com/jarcoal/httpmock from 1.1.0 to 1.2.0 #883
    Changelog

    Sourced from github.com/mackerelio/mackerel-agent-plugins's changelog.

    0.74.0 (2022-12-20)

    • use ubuntu-20.04 #978 (yseto)
    • fix packaging process on ci #971 (yseto)
    • refine file rewrite process #970 (yseto)
    • remove xentop on backward compatibility symlink #969 (yseto)
    • fix packaging #968 (yseto)
    • [plugin-elasticsearch] Fix the test for elasticsearch #966 (lufia)
    • added external plugin support #964 (yseto)
    • sort plugins on packaging files. #963 (yseto)
    • Purge less-used plugins from mackerel-agent-plugins package #962 (lufia)
    • Purge mackerel-plugin-nvidia-smi #961 (lufia)
    • Update dependencies #960 (lufia)
    • added test for elasticsearch #952 (yseto)

    0.73.0 (2022-11-09)

    • Fix Elasticsearch plugin. #950 (fujiwara)
    • Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 #946 (dependabot[bot])
    • [mongodb] add metric-key-prefix option #945 (tukaelu)

    0.72.2 (2022-10-20)

    • Bump github.com/aws/aws-sdk-go from 1.44.56 to 1.44.116 #942 (dependabot[bot])
    • Bump github.com/fsouza/go-dockerclient from 1.8.3 to 1.9.0 #941 (dependabot[bot])
    • added timeout on lint #935 (yseto)
    • Bump github.com/urfave/cli from 1.22.9 to 1.22.10 #933 (dependabot[bot])
    • Bump github.com/lib/pq from 1.10.5 to 1.10.7 #931 (dependabot[bot])
    • [uptime] Add tests #929 (wafuwafu13)
    • go.mod from 1.16 to 1.18 #928 (yseto)
    • Bump github.com/mackerelio/go-mackerel-plugin from 0.1.3 to 0.1.4 #927 (dependabot[bot])
    • Bump github.com/fsouza/go-dockerclient from 1.8.1 to 1.8.3 #925 (dependabot[bot])
    • Bump github.com/mackerelio/go-osstat from 0.2.2 to 0.2.3 #924 (dependabot[bot])
    • Improve test #923 (yseto)
    • Bump github.com/go-ldap/ldap/v3 from 3.4.3 to 3.4.4 #917 (dependabot[bot])
    • [aws-ec2-ebs] fix calcurate procedure of Nitro instance #916 (yseto)
    • [plugin-aws-ec2-ebs] fix misuse of period #915 (lufia)
    • Bump github.com/mackerelio/go-mackerel-plugin-helper from 0.1.1 to 0.1.2 #914 (dependabot[bot])
    • Bump github.com/gosnmp/gosnmp from 1.34.0 to 1.35.0 #889 (dependabot[bot])
    • Bump github.com/jarcoal/httpmock from 1.1.0 to 1.2.0 #883 (dependabot[bot])
    Commits
    • 73c37ab Merge pull request #980 from mackerelio/bump-version-0.74.0
    • f15bd8d ready for next release and update changelogs. version: 0.74.0
    • f6817a6 Merge pull request #978 from mackerelio/use-ubuntu-20.04
    • 82d9652 Merge pull request #977 from mackerelio/revert-975-bump-version-0.74.0
    • 8465f71 use ubuntu-20.04
    • 6470112 Revert "Release version 0.74.0"
    • 2228522 Merge pull request #964 from mackerelio/external-pluings
    • 89320fd Merge pull request #975 from mackerelio/bump-version-0.74.0
    • d4bcff9 ready for next release and update changelogs. version: 0.74.0
    • 79c4390 added external plugin support
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump golang.org/x/text from 0.3.7 to 0.5.0

    Bump golang.org/x/text from 0.3.7 to 0.5.0

    Bumps golang.org/x/text from 0.3.7 to 0.5.0.

    Commits
    • c8236a6 unicode/bidi: remove unused global
    • ada7473 all: remove redundant type conversion
    • 1bdb400 language: remove compatibility with go < 1.2
    • 252bee0 go.mod: ignore cyclic dependency for tagging
    • ecab6e5 go.mod: ignore cyclic dependency for tagging
    • 369c86b all: fix a few function names on comments
    • 434eadc language: reject excessively large Accept-Language strings
    • 23407e7 go.mod: ignore cyclic dependency for tagging
    • b18d3dd secure/precis: replace bytes.Compare with bytes.Equal
    • 795e854 all: replace io/ioutil with io and os package
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/mackerelio/mackerel-client-go from 0.22.0 to 0.23.0

    Bump github.com/mackerelio/mackerel-client-go from 0.22.0 to 0.23.0

    Bumps github.com/mackerelio/mackerel-client-go from 0.22.0 to 0.23.0.

    Release notes

    Sourced from github.com/mackerelio/mackerel-client-go's releases.

    v0.23.0

    What's Changed

    Full Changelog: https://github.com/mackerelio/mackerel-client-go/compare/v0.22.0...v0.23.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/mackerelio/mkr from 0.47.1 to 0.47.2 in /wix

    Bump github.com/mackerelio/mkr from 0.47.1 to 0.47.2 in /wix

    Bumps github.com/mackerelio/mkr from 0.47.1 to 0.47.2.

    Release notes

    Sourced from github.com/mackerelio/mkr's releases.

    v0.47.2

    • Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 #505
    • Bump github.com/mackerelio/mackerel-client-go from 0.21.2 to 0.22.0 #503
    • Bump github.com/golangci/golangci-lint from 1.47.1 to 1.50.0 #502
    • Bump github.com/mackerelio/mackerel-agent from 0.72.14 to 0.73.1 #501
    • Bump github.com/urfave/cli from 1.22.9 to 1.22.10 #498
    • Bump github.com/itchyny/gojq from 0.12.8 to 0.12.9 #497
    • Bump github.com/Songmu/goxz from 0.8.2 to 0.9.1 #492
    • Bump alpine from 3.16.1 to 3.16.2 #488
    Changelog

    Sourced from github.com/mackerelio/mkr's changelog.

    0.47.2 (2022-11-04)

    • Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 #505 (dependabot[bot])
    • Bump github.com/mackerelio/mackerel-client-go from 0.21.2 to 0.22.0 #503 (dependabot[bot])
    • Bump github.com/golangci/golangci-lint from 1.47.1 to 1.50.0 #502 (dependabot[bot])
    • Bump github.com/mackerelio/mackerel-agent from 0.72.14 to 0.73.1 #501 (dependabot[bot])
    • Bump github.com/urfave/cli from 1.22.9 to 1.22.10 #498 (dependabot[bot])
    • Bump github.com/itchyny/gojq from 0.12.8 to 0.12.9 #497 (dependabot[bot])
    • Bump github.com/Songmu/goxz from 0.8.2 to 0.9.1 #492 (dependabot[bot])
    • Bump alpine from 3.16.1 to 3.16.2 #488 (dependabot[bot])
    Commits
    • 6717f2e Merge pull request #507 from mackerelio/bump-version-0.47.2
    • 5dd8ac7 ready for next release and update changelogs. version: 0.47.2
    • ae00d26 Merge pull request #506 from mackerelio/fix-ci
    • 07a86b9 Merge pull request #501 from mackerelio/dependabot/go_modules/github.com/mack...
    • 122d302 remove dependency golangci-lint
    • 263a590 added setup-go on lint
    • 4b001d0 remove GO111MODULE on Makefile
    • 05aa954 Merge pull request #492 from mackerelio/dependabot/go_modules/github.com/Song...
    • a818bc9 Merge pull request #505 from mackerelio/dependabot/go_modules/github.com/stre...
    • d62cab3 Bump github.com/mackerelio/mackerel-agent from 0.72.14 to 0.73.1
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1

    Bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1

    Bumps github.com/BurntSushi/toml from 1.2.0 to 1.2.1.

    Release notes

    Sourced from github.com/BurntSushi/toml's releases.

    v1.2.1

    This release fixes the omitempty struct tag on an uncomparable type panicking.

    Commits
    • 74c008f Test Go 1.19; gofmt 1.19
    • 8de7f4a Update tests a little bit and add comment
    • 8bbca55 add a check for uncomparable empty structs
    • 17ef72d Tweak docs to use Go 1.19 syntax
    • 1ba7f5b Merge pull request #367 from zhsj/fix-32
    • 473c10f Fix test on 32 bit arch
    • 360c9e3 Don't return error on uncomparable types: just silently ignore like before
    • 929b0a7 Merge pull request #361 from BurntSushi/p-omitempty
    • 8d9ffad Don't panic with 'omitempty' and uncomparable type
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/mackerelio/go-check-plugins from 0.42.1 to 0.42.3 in /wix

    Bump github.com/mackerelio/go-check-plugins from 0.42.1 to 0.42.3 in /wix

    Bumps github.com/mackerelio/go-check-plugins from 0.42.1 to 0.42.3.

    Release notes

    Sourced from github.com/mackerelio/go-check-plugins's releases.

    v0.42.3

    • Bump golang.org/x/text from 0.3.7 to 0.4.0 #658
    • Bump github.com/aws/aws-sdk-go from 1.44.56 to 1.44.116 #656
    • Bump github.com/fsouza/go-dockerclient from 1.8.3 to 1.9.0 #655
    • use Go 1.19 on build #654
    • Bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.9 #652
    • Bump github.com/lib/pq from 1.10.6 to 1.10.7 #648
    • Bump github.com/mackerelio/checkers from 0.0.3 to 0.0.4 #645
    • [uptime] rewite to testable and add test #643
    • go.mod from 1.16 to 1.18 #642
    • added test check-file-age #641
    • added test check-file-size #640
    • Bump github.com/mackerelio/go-osstat from 0.2.2 to 0.2.3 #638
    • Bump github.com/fsouza/go-dockerclient from 1.8.1 to 1.8.3 #637
    • Bump github.com/go-ldap/ldap/v3 from 3.4.3 to 3.4.4 #631
    • Improve tests for check-mysql #629

    v0.42.2

    • Ignores fuse.portal partitions #626
    • Bump github.com/aws/aws-sdk-go from 1.44.37 to 1.44.56 #623
    • Bump github.com/gomodule/redigo from 1.8.8 to 1.8.9 #620
    • Bump github.com/stretchr/testify from 1.7.1 to 1.8.0 #618
    • Bump github.com/fsouza/go-dockerclient from 1.7.10 to 1.8.1 #610
    • Bump github.com/lib/pq from 1.10.4 to 1.10.6 #603
    • Bump github.com/jmoiron/sqlx from 1.3.4 to 1.3.5 #595
    • Bump github.com/go-ldap/ldap/v3 from 3.4.2 to 3.4.3 #592
    Changelog

    Sourced from github.com/mackerelio/go-check-plugins's changelog.

    0.42.3 (2022-10-20)

    • Bump golang.org/x/text from 0.3.7 to 0.4.0 #658 (dependabot[bot])
    • Bump github.com/aws/aws-sdk-go from 1.44.56 to 1.44.116 #656 (dependabot[bot])
    • Bump github.com/fsouza/go-dockerclient from 1.8.3 to 1.9.0 #655 (dependabot[bot])
    • use Go 1.19 on build #654 (yseto)
    • Bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.9 #652 (dependabot[bot])
    • Bump github.com/lib/pq from 1.10.6 to 1.10.7 #648 (dependabot[bot])
    • Bump github.com/mackerelio/checkers from 0.0.3 to 0.0.4 #645 (dependabot[bot])
    • [uptime] rewite to testable and add test #643 (wafuwafu13)
    • go.mod from 1.16 to 1.18 #642 (yseto)
    • added test check-file-age #641 (yseto)
    • added test check-file-size #640 (yseto)
    • Bump github.com/mackerelio/go-osstat from 0.2.2 to 0.2.3 #638 (dependabot[bot])
    • Bump github.com/fsouza/go-dockerclient from 1.8.1 to 1.8.3 #637 (dependabot[bot])
    • Bump github.com/go-ldap/ldap/v3 from 3.4.3 to 3.4.4 #631 (dependabot[bot])
    • Improve tests for check-mysql #629 (susisu)

    0.42.2 (2022-07-27)

    • Ignores fuse.portal partitions #626 (lufia)
    • Bump github.com/aws/aws-sdk-go from 1.44.37 to 1.44.56 #623 (dependabot[bot])
    • Bump github.com/gomodule/redigo from 1.8.8 to 1.8.9 #620 (dependabot[bot])
    • Bump github.com/stretchr/testify from 1.7.1 to 1.8.0 #618 (dependabot[bot])
    • Bump github.com/fsouza/go-dockerclient from 1.7.10 to 1.8.1 #610 (dependabot[bot])
    • Bump github.com/lib/pq from 1.10.4 to 1.10.6 #603 (dependabot[bot])
    • Bump github.com/jmoiron/sqlx from 1.3.4 to 1.3.5 #595 (dependabot[bot])
    • Bump github.com/go-ldap/ldap/v3 from 3.4.2 to 3.4.3 #592 (dependabot[bot])
    Commits
    • 95f2b87 Merge pull request #659 from mackerelio/bump-version-0.42.3
    • ab61cfa ready for next release and update changelogs. version: 0.42.3
    • aebd734 Merge pull request #658 from mackerelio/dependabot/go_modules/golang.org/x/te...
    • f54af96 Bump golang.org/x/text from 0.3.7 to 0.4.0
    • 683d82c Merge pull request #655 from mackerelio/dependabot/go_modules/github.com/fsou...
    • b3ca249 Merge pull request #656 from mackerelio/dependabot/go_modules/github.com/aws/...
    • a265b1a Bump github.com/fsouza/go-dockerclient from 1.8.3 to 1.9.0
    • a9da5a3 Merge pull request #652 from mackerelio/dependabot/go_modules/github.com/shir...
    • 40ecdd8 Bump github.com/aws/aws-sdk-go from 1.44.56 to 1.44.116
    • e433f98 Merge pull request #654 from mackerelio/go119
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
AutoK3s GEO collects metrics about locates remote IP-address and exposes metrics to InfluxDB.

AutoK3s GEO AutoK3s GEO collects metrics about locates remote IP-address and exposes metrics to InfluxDB. Thanks to https://freegeoip.live/ which prov

Jun 16, 2022
GoC2 - MacOS Post Exploitation C2 Framework
GoC2 - MacOS Post Exploitation C2 Framework

goc2 c2 client/server/paylod GoC2 - MacOS Post Exploitation C2 Framework Custom C2 for bypassing EDR and ease of use.

Dec 23, 2022
Code for the Go pipeline blog post

Concurrent and Parallel Pipelines in Go This repository contains the code that goes along with a blog post about concurrent and parallel pipelines in

Nov 11, 2022
Joy2Mouse is a program that allows you to control your computer mouse with a joystick.
Joy2Mouse is a program that allows you to control your computer mouse with a joystick.

Joy2Mouse Joy2Mouse is a program that allows you to control your computer mouse with a joystick. Features Control your mouse with a joystick Mouse dow

Dec 26, 2021
Host yo' self from your browser, your phone, your toaster.
Host yo' self from your browser, your phone, your toaster.

A hosting service from the browser, because why not. Try it at hostyoself.com. See it in action Here's an example where I use hostyoself.com to host i

Jan 1, 2023
Configuration agent for BFE control plane

conf-agent conf-agent 说明 conf-agent 从 api-server 获取最新的配置并触发bfe热加载。 获取方式 获取 conf-agent 工具。获取 conf-agent 有多种方式: 在 releases 页面下载对应平台的可执行文件 通过 go get 工具本地

Oct 28, 2022
This is a monitor agent for N9E

n9e-agentd This is a monitor agent for N9E Download Build from source $ make pkg $ ls build/ linux-amd64/ n9e-agentd n9e-agentd-5.1.0-rc1.linux.amd

Oct 22, 2022
Type-safe Prometheus metrics builder library for golang

gotoprom A Prometheus metrics builder gotoprom offers an easy to use declarative API with type-safe labels for building and using Prometheus metrics.

Dec 5, 2022
Go port of Coda Hale's Metrics library

go-metrics Go port of Coda Hale's Metrics library: https://github.com/dropwizard/metrics. Documentation: http://godoc.org/github.com/rcrowley/go-metri

Dec 30, 2022
A tool to run queries in defined frequency and expose the count as prometheus metrics.
A tool to run queries in defined frequency and expose the count as prometheus metrics.

A tool to run queries in defined frequency and expose the count as prometheus metrics. Supports MongoDB and SQL

Jul 1, 2022
Prometheus support for go-metrics

go-metrics-prometheus This is a reporter for the go-metrics library which will post the metrics to the prometheus client registry . It just updates th

Nov 13, 2022
a tool for getting metrics in containers

read metrics in container if environment is container, the cpu ,memory is relative to container, else the metrics is relative to host. juejing link :

Oct 13, 2022
Collect and visualize metrics from Brigade 2

Brigade Metrics: Monitoring for Brigade 2 Brigade Metrics adds monitoring capabilities to a Brigade 2 installation. It utilizes Brigade APIs to export

Sep 8, 2022
Count Dracula is a fast metrics server that counts entries while automatically expiring old ones

In-Memory Expirable Key Counter This is a fast metrics server, ideal for tracking throttling. Put values to the server, and then count them. Values ex

Jun 17, 2022
rsync wrapper (or output parser) that pushes metrics to prometheus

rsync-prom An rsync wrapper (or output parser) that pushes metrics to prometheus. This allows you to then build dashboards and alerting for your rsync

Dec 11, 2022
Service for firewalling graphite metrics

hadrianus Block incoming graphite metrics if they come in too fast for downstream carbon-relay/carbon-cache to handle. Building Hadrianus is written i

Apr 28, 2022
The gofinder program is an acme user interface to search through Go projects.

The gofinder program is an acme user interface to search through Go projects.

Jun 14, 2021
Visualize call graph of a Go program using Graphviz
Visualize call graph of a Go program using Graphviz

go-callvis go-callvis is a development tool to help visualize call graph of a Go program using interactive view. Introduction The purpose of this tool

Dec 31, 2022
Toy program for benchmarking safe and unsafe ways of saving a file

save-a-file benchmarks the many strategies an editor could use to save a file. Example output on a SSD: ext4: $ ./save-a-file ~/tmp/foo 29.195µs per s

Jan 4, 2023