status

package
v5.0.0-alpha1+incompat... Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Reads server status from apache host under /server-status?auto mod_status is required.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() helper.MetricSeter

New creates new instance of MetricSeter

func ParseMatchFloat

func ParseMatchFloat(inputString, hostname, fieldName string) float64

Types

type MetricSeter

type MetricSeter struct {
	ServerStatusPath string
}

func (*MetricSeter) Fetch

func (m *MetricSeter) Fetch(ms *helper.MetricSet, host string) (event common.MapStr, err error)

func (*MetricSeter) Setup

func (m *MetricSeter) Setup(ms *helper.MetricSet) error

Setup any metric specific configuration

Jump to

Keyboard shortcuts

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