Host
Events
Service
The HostEventsService class is useful
to manage all the HostHistoryEvent
database operations
Author
N7ghtm4r3 - Tecknobit
See also
Properties
Functions
Link copied to clipboard
Method used to calculate the up days since
the last up event
Link copied to clipboard
Method used to register the RESTARTED
event
Link copied to clipboard
Method used to register a change of the
status of a host
Link copied to clipboard
Method used to register the SERVICE_ADDED
event
Link copied to clipboard
open fun registerServiceRemovedEvent(hostId: String, serviceName: String, removeFromTheHost: Boolean)
Method used to register the SERVICE_REMOVED
event