public class NagiosCheckResult extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_CHECK_TYPE |
static int |
PASSIVE_CHECK_TYPE |
| Constructor and Description |
|---|
NagiosCheckResult(String host,
String service,
State state,
String message)
Instantiate a Nagios check result
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
String |
getMessage() |
String |
getService() |
State |
getState() |
public static final int ACTIVE_CHECK_TYPE
public static final int PASSIVE_CHECK_TYPE
public NagiosCheckResult(String host, String service, State state, String message)
host - is the host in Nagiosservice - is the id of the service in Nagiosstate - is the computed State of the checkmessage - is a free text to send to Nagios to describe the result of the check (supports multiple lines)Copyright © 2015. All Rights Reserved.