Name: mackerel-agent
Owner: Mackerel
Description: mackerel-agent is an agent program to post your hosts' metrics to mackerel.io.
Created: 2014-05-16 05:01:38.0
Updated: 2018-01-13 16:34:58.0
Pushed: 2018-01-18 08:39:30.0
Homepage: https://mackerel.io
Size: 1923
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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:
Collected information will be visualized on Mackerel.
You have to create an organization on Mackerel at first.
After that, specify apikey
value in mackerel-agent.conf
with the following command.
ckerel-agent init -apiey {{YOUR_APIKEY}}
Build and Run the mackerel-agent.
ke build
ke run
You can run the following commands instead of using make
.
get -d github.com/mackerelio/mackerel-agent
build -o build/mackerel-agent \
dflags="\
-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/\+.*$$//'` " \
thub.com/mackerelio/mackerel-agent
ild/mackerel-agent -conf=mackerel-agent.conf
Use .bat
files instead of make
commands.
ild.bat
Test mackerel-agent to confirm it's working properly.
The agent will collect information about the host on which it has been installed.
ke test
right 2014 Hatena Co., Ltd.
nsed under the Apache License, Version 2.0 (the "License");
may not use this file except in compliance with the License.
may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
ss required by applicable law or agreed to in writing, software
ributed under the License is distributed on an "AS IS" BASIS,
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
the License for the specific language governing permissions and
tations under the License.