|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.poller.nrpe.CheckNrpe
public class CheckNrpe
CheckNrpe class.
| Field Summary | |
|---|---|
static int |
DEFAULT_PORT
Constant DEFAULT_PORT=5666 |
static int |
DEFAULT_TIMEOUT
Constant DEFAULT_TIMEOUT=10 |
| Constructor Summary | |
|---|---|
CheckNrpe()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_PORT
DEFAULT_PORT=5666
public static final int DEFAULT_TIMEOUT
DEFAULT_TIMEOUT=10
| Constructor Detail |
|---|
public CheckNrpe()
| Method Detail |
|---|
public static NrpePacket executeQuery(String host,
String buffer)
throws Exception
executeQuery
host - a String object.buffer - a String object.
NrpePacket object.
Exception - if any.
public static NrpePacket executeQuery(String host,
String buffer,
int padding)
throws Exception
executeQuery
host - a String object.buffer - a String object.padding - a int.
NrpePacket object.
Exception - if any.
public static NrpePacket executeQuery(String host,
int port,
String buffer,
int padding)
throws Exception
executeQuery
host - a String object.port - a int.buffer - a String object.padding - a int.
NrpePacket object.
Exception - if any.
public static NrpePacket sendPacket(short type,
short resultCode,
String buffer)
throws Exception
sendPacket
type - a short.resultCode - a short.buffer - a String object.
NrpePacket object.
Exception - if any.
public static void main(String[] argv)
throws Exception
main
argv - an array of String objects.
Exception - if any.
public static String nextArg(String[] argv,
int i)
throws Exception
nextArg
argv - an array of String objects.i - a int.
String object.
Exception - if any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||