| Constructor and Description |
|---|
NagiosConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(URI uri) |
NagiosConfiguration |
copy()
Returns a copy of this configuration
|
int |
getConnectionTimeout() |
com.googlecode.jsendnsca.encryption.Encryption |
getEncryption() |
String |
getHost() |
com.googlecode.jsendnsca.NagiosSettings |
getOrCreateNagiosSettings() |
String |
getPassword() |
int |
getPort() |
int |
getTimeout() |
void |
setConnectionTimeout(int connectionTimeout)
Connection timeout in millis.
|
void |
setEncryption(com.googlecode.jsendnsca.encryption.Encryption encryption)
To specify an encryption method.
|
void |
setHost(String host)
This is the address of the Nagios host where checks should be send.
|
void |
setPassword(String password)
Password to be authenticated when sending checks to Nagios.
|
void |
setPort(int port)
The port number of the host.
|
void |
setTimeout(int timeout)
Sending timeout in millis.
|
public NagiosConfiguration copy()
public void configure(URI uri)
public com.googlecode.jsendnsca.NagiosSettings getOrCreateNagiosSettings()
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
public int getTimeout()
public void setTimeout(int timeout)
public String getPassword()
public void setPassword(String password)
public com.googlecode.jsendnsca.encryption.Encryption getEncryption()
public void setEncryption(com.googlecode.jsendnsca.encryption.Encryption encryption)
Apache Camel