status

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

The status package contains the datatype that corresponds to monitoring plugin status values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status int

Status represents the return status of the monitoring plugin. The corresponding integer value will be used as the program's exit code, to be interpreted by the monitoring system.

const (
	StatusOK Status = iota
	StatusWarning
	StatusCritical
	StatusUnknown
)

Plugin exit statuses.

func (Status) String

func (s Status) String() string

String representations of the plugin statuses.

Jump to

Keyboard shortcuts

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