|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Gets logged events for different entities in the Collage database.
Method Summary | |
java.util.Collection |
getEventsByDate(java.lang.String timeField,
java.util.Date fromDate,
java.util.Date toDate)
Returns a collection of LogMessage for a given date range. |
java.util.Collection |
getEventsForDevice(java.lang.String identification,
java.lang.String timeField,
java.util.Date fromDate,
java.util.Date toDate)
Returns a collection of LogMessage for a given device identification |
java.util.Collection |
getEventsForHost(java.lang.String HostName,
java.lang.String timeField,
java.util.Date fromDate,
java.util.Date toDate)
Returns a collection of LogMessage for a given host |
java.util.Collection |
getEventsForHostGroup(java.lang.String hostGroupName,
java.lang.String timeField,
java.util.Date fromDate,
java.util.Date toDate)
Returns a collection of LogMessage for a given HostGroup. |
java.util.Collection |
getEventsForService(java.lang.String serviceDescription,
java.lang.String HostName,
java.lang.String timeField,
java.util.Date fromDate,
java.util.Date toDate)
Returns a collection of LogMessage for a given ServiceDescription
and Host name |
Method Detail |
public java.util.Collection getEventsForDevice(java.lang.String identification, java.lang.String timeField, java.util.Date fromDate, java.util.Date toDate) throws CollageException
LogMessage
for a given device identification
identification
- timeField
- String that is either FirstInsertDate or LastInsertDate or NULL if no time limit should be applied.fromDate
- Beginning of date RangetoDate
- End of date range
CollageException
public java.util.Collection getEventsForService(java.lang.String serviceDescription, java.lang.String HostName, java.lang.String timeField, java.util.Date fromDate, java.util.Date toDate) throws CollageException
LogMessage
for a given ServiceDescription
and Host name
serviceDescription
- timeField
- String that is either FirstInsertDate or LastInsertDate
or NULL if no time limit should be applied.fromDate
- Beginning of date RangetoDate
- End of date range
CollageException
public java.util.Collection getEventsForHost(java.lang.String HostName, java.lang.String timeField, java.util.Date fromDate, java.util.Date toDate) throws CollageException
LogMessage
for a given host
timeField
- String that is either FirstInsertDate or LastInsertDate
or NULL if no time limit should be applied.fromDate
- Beginning of date RangetoDate
- End of date range
CollageException
public java.util.Collection getEventsForHostGroup(java.lang.String hostGroupName, java.lang.String timeField, java.util.Date fromDate, java.util.Date toDate) throws CollageException
LogMessage
for a given HostGroup. This
means that all LogMessages (events) within the specified time range (or
all events if null is passed for the timeField parameter) for all services
and hosts in the HostGroup will be returned.
hostGroupName
- timeField
- String that is either FirstInsertDate or LastInsertDate
or NULL if no time limit should be applied.fromDate
- Beginning of date RangetoDate
- End of date range
CollageException
public java.util.Collection getEventsByDate(java.lang.String timeField, java.util.Date fromDate, java.util.Date toDate) throws CollageException
LogMessage
for a given date range. This
means that all events withing the specified date range for all Services
and Hosts will be returned.
timeField
- String that is either FirstInsertDate or LastInsertDate
or NULL if no time limit should be applied.fromDate
- Beginning of date RangetoDate
- End of date range
CollageException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |