{Event_Nonexist, "Does not exist", "Exists", "Existence changed", "Existence not changed"},
ProcessDoesNotExist EventType = "ProcessDoesNotExist"
These are not particularly similar, except that they express some of the same concepts, which are the concepts of the domain. A user of monit would be aware of these concepts.
These examples look nothing alike. At least not in the sense that one is copied from the other. Any program that has to check on the existence of processes might potentially have code that looks similar to that.
> For instance some of the file names are the same, ie, Inspector's events.go and Monit's Event.c
You can't be serious. "Events", as a filename is an indication of plagiarism? An "event" is a basic concept of programming! That's like if a teacher accused students of copying because they both handed in a file called "homework.doc".
I see absolutely nothing interesting here, it's just an error management with an error list. I'm pretty sure that I have similar handlers in my own code too.
You can even find this pattern in strerror.c which is handeling errno.h [1]. this is a really old concept.