apache

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2017 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GAUGES XXX
	GAUGES = map[string]string{
		"IdleWorkers":    "apache.performance.idle_workers",
		"BusyWorkers":    "apache.performance.busy_workers",
		"CPULoad":        "apache.performance.cpu_load",
		"Uptime":         "apache.performance.uptime",
		"Total kBytes":   "apache.net.bytes",
		"Total Accesses": "apache.net.hits",
	}

	// RATES XXX
	RATES = map[string]string{
		"Total kBytes":   "apache.net.bytes_per_s",
		"Total Accesses": "apache.net.request_per_s",
	}
)

Functions

func NewApache

func NewApache(conf plugin.InitConfig) plugin.Plugin

NewApache XXX

Types

type Apache

type Apache struct {
	ApacheStatusURL string `yaml:"apache_status_url"`
	ApacheUser      string `yaml:"apache_user"`
	ApachePassword  string `yaml:"apache_password"`
	Tags            []string
}

Apache XXX

func (*Apache) Check

func (a *Apache) Check(agg metric.Aggregator) error

Check XXX

Jump to

Keyboard shortcuts

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