Skip to content
Snippets Groups Projects
Commit e74e3751 authored by nimrod's avatar nimrod
Browse files

Nagios package.

For now just the return codes for plugins.
parent 27ae1e18
No related branches found
No related tags found
No related merge requests found
Pipeline #1775 failed
package main
import (
"git.shore.co.il/shore/mnpw/pkg/nagios"
"os"
)
......
package nagios
// Although exit codes can't be a negative, int is used to match
// ExitCode in *os.ProcessState.
type ReturnCode int
const (
OK ReturnCode = 0
WARNING = 1
CRITICAL = 2
UNKNOWN = 3
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment