beehive: github.com/muesli/beehive/bees/nagiosbee Index | Files

package nagiosbee

import "github.com/muesli/beehive/bees/nagiosbee"

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

Index

Package Files

nagiosbee.go nagiosbeefactory.go

type NagiosBee Uses

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

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

func (*NagiosBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*NagiosBee) Run Uses

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

Run executes the Bee's event loop.

type NagiosBeeFactory Uses

type NagiosBeeFactory struct {
    bees.BeeFactory
}

NagiosBeeFactory is a factory for NagiosBees.

func (*NagiosBeeFactory) Description Uses

func (factory *NagiosBeeFactory) Description() string

Description returns the description of this Bee.

func (*NagiosBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*NagiosBeeFactory) ID Uses

func (factory *NagiosBeeFactory) ID() string

ID returns the ID of this Bee.

func (*NagiosBeeFactory) Image Uses

func (factory *NagiosBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*NagiosBeeFactory) LogoColor Uses

func (factory *NagiosBeeFactory) LogoColor() string

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

func (*NagiosBeeFactory) Name Uses

func (factory *NagiosBeeFactory) Name() string

Name returns the name of this Bee.

func (*NagiosBeeFactory) New Uses

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 Uses

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

Options returns the options available to configure this Bee.

Package nagiosbee imports 5 packages (graph) and is imported by 14 packages. Updated 2017-03-03. Refresh now. Tools for package owners.