amonagent

package module
v0.0.0-...-54d14c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 7 Imported by: 1

README

Amon Monitoring Agent

Amon is an easy-to-use hosted server monitoring service. The Amon agent reports metrics to our service.

Change log

Manual Installation

Install on Ubuntu/Debian
  1. Import the public key used by the package management system.
    The Ubuntu package management tools (i.e. dpkg and apt) ensure package consistency and authenticity by requiring that distributors sign packages with GPG keys. Issue the following command to import the Amon Agent key

     sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv AD53961F
    
  2. Create a list file for the Agent.
    Create the /etc/apt/sources.list.d/amonagent.list list file using the following command:

     echo 'deb https://packages.amon.cx/repo amon contrib' | sudo tee /etc/apt/sources.list.d/amonagent.list
    
  3. Reload local package database and install
    Issue the following commands:

     sudo apt-get update
     sudo apt-get install amonagent
    
Install on CentOS/Amazon Linux

1.Configure the package management system (YUM).
Create a /etc/yum.repos.d/amonagent.repo file to hold the following configuration information for the Amon Agent repository:

[amonagent]
name=Amonagent Repository
baseurl=https://packages.amon.cx/rpm/
gpgcheck=0
enabled=1
priority=1

2.Install the Agent package.
To install the latest stable version of the Agent, issue the following command:

yum install -y amonagent

Credits / Contact

Contact martin@amon.cx with questions.

Primary maintainer: Martin Rusev (martin@amon.cx)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	// Interval at which to gather information
	Interval time.Duration

	ConfiguredPlugins []plugins.ConfiguredPlugin
}

Agent - XXX

func NewAgent

func NewAgent(config settings.Struct) (*Agent, error)

NewAgent - XXX

func (*Agent) GatherAndSend

func (a *Agent) GatherAndSend(debug bool) error

GatherAndSend - XXX

func (*Agent) Run

func (a *Agent) Run(shutdown chan struct{}, debug bool) error

Run runs the agent daemon, gathering every Interval

func (*Agent) Test

func (a *Agent) Test(config settings.Struct) error

Test - XXX

func (*Agent) TestPlugin

func (a *Agent) TestPlugin(pluginName string) error

TestPlugin - XXX

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL