lighttpd

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: GPL-3.0 Imports: 11 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

lighttpd

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

Requirements:

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 in connections
  • 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://127.0.0.1/server-status?auto
      
  - name: remote
    url : http://100.64.0.1/server-status?auto

For all available options please see module configuration file.

Without configuration, module attempts to connect to http://127.0.0.1/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 Config added in v0.5.0

type Config struct {
	web.HTTP `yaml:",inline"`
}

Config is the Lighttpd module configuration.

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims

type Lighttpd

type Lighttpd struct {
	module.Base
	Config `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() *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