|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.poller.nsclient.NsclientCheckParams
public class NsclientCheckParams
This class contains the parameters used to perform and validate checks against the NSClient daemon.
| Constructor Summary | |
|---|---|
NsclientCheckParams(int critPerc)
Constructor, sets the critical threshold. |
|
NsclientCheckParams(int critPerc,
int warnPerc)
Constructor, sets the critical and warning thresholds. |
|
NsclientCheckParams(int critPerc,
int warnPerc,
String params)
Constructor, sets the critical and warning thresholds and the parameter strings. |
|
NsclientCheckParams(String params)
Constructor, sets the parameter string used when creating check requests. |
|
| Method Summary | |
|---|---|
int |
getCriticalPercent()
Returns the critical threshold value. |
String |
getParamString()
Returns the string containing the parameters for creating check requests. |
int |
getWarningPercent()
Returns the warning threshold value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NsclientCheckParams(int critPerc)
critPerc - the value to be used for the critical threshold.
public NsclientCheckParams(int critPerc,
int warnPerc)
critPerc - the value to be used for the critical threshold.warnPerc - the value to be used for the warning threshold.
public NsclientCheckParams(int critPerc,
int warnPerc,
String params)
critPerc - the value to be used for the critical threshold.warnPerc - the value to be used for the warning threshold.params - the parameter string used for creating check requests.public NsclientCheckParams(String params)
params - the parameter string used for creating check requests.| Method Detail |
|---|
public int getWarningPercent()
public int getCriticalPercent()
public String getParamString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||