Hi Guys,
I am seeing a really strange issue with a collector I have written. It is designed to collect information from a database source (in this case Novell Access Governance Suite). The collector works fine, the sql returns the results expected. However as some of the details stored in the table being queried are historical I planned to set the event time to the date/time stamp from the results.
The code above works when I set the Trust Collector Time checkbox. However when this is done i see duplicate events for all events processed by the collector. If I choose not to trust the collector time then the events are stamped with the current time (as to be expected) and then there are no duplicates.
Have I missed something out for doing this?
Many Thanks in Advance.
I am seeing a really strange issue with a collector I have written. It is designed to collect information from a database source (in this case Novell Access Governance Suite). The collector works fine, the sql returns the results expected. However as some of the details stored in the table being queried are historical I planned to set the event time to the date/time stamp from the results.
Code:
if (this.col_DATE_TIME)
{
var dev_tm = this.col_DATE_TIME.replace(/\-/g, "\/");
dev_tm = dev_tm.replace(/\./g, "\:");
dev_tm = dev_tm.replace(/(\:\d+)$/, "");
this.evtMsg = this.evtMsg + " Device Time:" + dev_tm;
this.observedDate = new Date.parse(dev_tm);
e.setDeviceEventTime(this.observedDate);
}
instance.SEND_EVENT = true;
return true;
Have I missed something out for doing this?
Many Thanks in Advance.