org.opennms.netmgt.poller.nrpe
Class CheckNrpe
java.lang.Object
org.opennms.netmgt.poller.nrpe.CheckNrpe
public class CheckNrpe
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
CheckNrpe
public CheckNrpe()
executeQuery
public static NrpePacket executeQuery(String host,
String buffer)
throws Exception
- Throws:
Exception
executeQuery
public static NrpePacket executeQuery(String host,
String buffer,
int padding)
throws Exception
- Throws:
Exception
executeQuery
public static NrpePacket executeQuery(String host,
int port,
String buffer,
int padding)
throws Exception
- Throws:
Exception
sendPacket
public static NrpePacket sendPacket(short type,
short resultCode,
String buffer)
throws Exception
- Throws:
Exception
main
public static void main(String[] argv)
throws Exception
- Throws:
Exception
nextArg
public static String nextArg(String[] argv,
int i)
throws Exception
- Throws:
Exception
Copyright © 2009. All Rights Reserved.