nagiosbee

package
v0.0.0-...-42619b2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package nagiosbee is a Bee that can interface with a Nagios instance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NagiosBee

type NagiosBee struct {
	bees.Bee
	// contains filtered or unexported fields
}

NagiosBee is a Bee that can interface with a Nagios instance.

func (*NagiosBee) ReloadOptions

func (mod *NagiosBee) ReloadOptions(options bees.BeeOptions)

ReloadOptions parses the config options and initializes the Bee.

func (*NagiosBee) Run

func (mod *NagiosBee) Run(cin chan bees.Event)

Run executes the Bee's event loop.

type NagiosBeeFactory

type NagiosBeeFactory struct {
	bees.BeeFactory
}

NagiosBeeFactory is a factory for NagiosBees.

func (*NagiosBeeFactory) Description

func (factory *NagiosBeeFactory) Description() string

Description returns the description of this Bee.

func (*NagiosBeeFactory) Events

func (factory *NagiosBeeFactory) Events() []bees.EventDescriptor

Events describes the available events provided by this Bee.

func (*NagiosBeeFactory) ID

func (factory *NagiosBeeFactory) ID() string

ID returns the ID of this Bee.

func (*NagiosBeeFactory) Image

func (factory *NagiosBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*NagiosBeeFactory) LogoColor

func (factory *NagiosBeeFactory) LogoColor() string

LogoColor returns the preferred logo background color (used by the admin interface).

func (*NagiosBeeFactory) Name

func (factory *NagiosBeeFactory) Name() string

Name returns the name of this Bee.

func (*NagiosBeeFactory) New

func (factory *NagiosBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface

New returns a new Bee instance configured with the supplied options.

func (*NagiosBeeFactory) Options

func (factory *NagiosBeeFactory) Options() []bees.BeeOptionDescriptor

Options returns the options available to configure this Bee.

Jump to

Keyboard shortcuts

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