public abstract class CheckNrpe extends Object
CheckNrpe class.
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT
Constant
DEFAULT_PORT=5666 |
static int |
DEFAULT_TIMEOUT
Constant
DEFAULT_TIMEOUT=10 |
Constructor and Description |
---|
CheckNrpe() |
Modifier and Type | Method and Description |
---|---|
static NrpePacket |
executeQuery(String host,
int port,
String buffer,
int padding)
executeQuery
|
static NrpePacket |
executeQuery(String host,
String buffer)
executeQuery
|
static NrpePacket |
executeQuery(String host,
String buffer,
int padding)
executeQuery
|
static void |
main(String[] argv)
main
|
static String |
nextArg(String[] argv,
int i)
nextArg
|
static NrpePacket |
sendPacket(short type,
short resultCode,
String buffer)
sendPacket
|
public static final int DEFAULT_PORT
DEFAULT_PORT=5666
public static final int DEFAULT_TIMEOUT
DEFAULT_TIMEOUT=10
public static NrpePacket executeQuery(String host, String buffer) throws Exception
executeQuery
public static NrpePacket executeQuery(String host, String buffer, int padding) throws Exception
executeQuery
public static NrpePacket executeQuery(String host, int port, String buffer, int padding) throws Exception
executeQuery
public static NrpePacket sendPacket(short type, short resultCode, String buffer) throws Exception
sendPacket
Copyright © 2021. All rights reserved.