Documentation ¶
Overview ¶
Package nagiosbee is a Bee that can interface with a Nagios instance.
Index ¶
- type NagiosBee
- type NagiosBeeFactory
- func (factory *NagiosBeeFactory) Description() string
- func (factory *NagiosBeeFactory) Events() []bees.EventDescriptor
- func (factory *NagiosBeeFactory) ID() string
- func (factory *NagiosBeeFactory) Image() string
- func (factory *NagiosBeeFactory) LogoColor() string
- func (factory *NagiosBeeFactory) Name() string
- func (factory *NagiosBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
- func (factory *NagiosBeeFactory) Options() []bees.BeeOptionDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NagiosBee ¶
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.
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.