public class NagiosEventNotifier
extends org.apache.camel.support.EventNotifierSupport
EventNotifier which sends alters to Nagios.| Constructor and Description |
|---|
NagiosEventNotifier() |
| Modifier and Type | Method and Description |
|---|---|
protected com.googlecode.jsendnsca.core.Level |
determineLevel(EventObject eventObject) |
protected void |
doStart() |
protected void |
doStop() |
NagiosConfiguration |
getConfiguration() |
String |
getHostName() |
com.googlecode.jsendnsca.core.NagiosSettings |
getNagiosSettings() |
String |
getServiceName() |
boolean |
isEnabled(EventObject eventObject) |
void |
notify(EventObject eventObject) |
void |
setConfiguration(NagiosConfiguration configuration) |
void |
setHostName(String hostName) |
void |
setNagiosSettings(com.googlecode.jsendnsca.core.NagiosSettings nagiosSettings) |
void |
setServiceName(String serviceName) |
isIgnoreCamelContextEvents, isIgnoreExchangeCompletedEvent, isIgnoreExchangeCreatedEvent, isIgnoreExchangeEvents, isIgnoreExchangeFailedEvents, isIgnoreExchangeRedeliveryEvents, isIgnoreExchangeSendingEvents, isIgnoreExchangeSentEvents, isIgnoreRouteEvents, isIgnoreServiceEvents, setIgnoreCamelContextEvents, setIgnoreExchangeCompletedEvent, setIgnoreExchangeCreatedEvent, setIgnoreExchangeEvents, setIgnoreExchangeFailedEvents, setIgnoreExchangeRedeliveryEvents, setIgnoreExchangeSendingEvents, setIgnoreExchangeSentEvents, setIgnoreRouteEvents, setIgnoreServiceEventspublic void notify(EventObject eventObject) throws Exception
Exceptionpublic boolean isEnabled(EventObject eventObject)
protected com.googlecode.jsendnsca.core.Level determineLevel(EventObject eventObject)
public NagiosConfiguration getConfiguration()
public void setConfiguration(NagiosConfiguration configuration)
public com.googlecode.jsendnsca.core.NagiosSettings getNagiosSettings()
public void setNagiosSettings(com.googlecode.jsendnsca.core.NagiosSettings nagiosSettings)
public String getServiceName()
public void setServiceName(String serviceName)
public String getHostName()
public void setHostName(String hostName)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.EventNotifierSupportExceptionApache Camel