[server] Fix a bug that a self-monitoring event is tied to an incorrect incident (issue #725)

In the current implementation a server ID & an event ID are used to tie an event to an incident.
But, since all self-monitoring events have same event ID, they can't be tied to correct incidents.
This modification replaces the pair of server ID & event ID with unified event ID to do it correctly.