Script to merge "recovered" or "clear" notifications from alert systems?

There’s a nice script for Nagios that will merge “Recovered” notifications into the existing ticket available here (https://metacpan.org/pod/RT::Extension::Nagios ) However we also use Zenoss in our environment which produces emails in a format this script won’t recognize. Does anyone know of a generic script or way we could get the same functionality so it can be used with Zenoss?

Thanks,

Dion
Far Edge Technology