lighttpd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2019 License: GPL-3.0 Imports: 11 Imported by: 1

README

lighttpd

This module will monitor one or more Lighttpd servers depending on configuration.

Requirements:

  • lighttpd with enabled mod_status

It produces the following charts:

  1. Requests in requests/s
  • requests
  1. Bandwidth in kilobytes/s
  • sent
  1. Servers in servers
  • idle
  • busy
  1. Scoreboard events
  • waiting
  • open
  • close
  • hard error
  • keepalive
  • read
  • read post
  • write
  • handle request
  • requests start
  • requests end
  • response start
  • requests end
  1. Uptime in seconds
  • uptime
configuration

Needs only url to server's server-status?auto

Here is an example for 2 servers:

jobs:
  - name: local
    url : http://localhost/server-status?auto
      
  - name: remote
    url : http://100.64.0.1/server-status?auto

Without configuration, module attempts to connect to http://localhost/server-status?auto


Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims

type Lighttpd

type Lighttpd struct {
	module.Base
	web.HTTP `yaml:",inline"`
	// contains filtered or unexported fields
}

Lighttpd Lighttpd module.

func New

func New() *Lighttpd

New creates Lighttpd with default values.

func (Lighttpd) Charts

func (l Lighttpd) Charts() *module.Charts

Charts returns Charts.

func (*Lighttpd) Check

func (l *Lighttpd) Check() bool

Check makes check

func (Lighttpd) Cleanup

func (Lighttpd) Cleanup()

Cleanup makes cleanup.

func (*Lighttpd) Collect

func (l *Lighttpd) Collect() map[string]int64

Collect collects metrics.

func (*Lighttpd) Init

func (l *Lighttpd) Init() bool

Init makes initialization.

Jump to

Keyboard shortcuts

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