This means that something is configured incorrectly in the DCI.
Is Origin set correctly? Anything in transformation script?
Is Origin set correctly? Anything in transformation script?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu$node.setCustomAttribute("lastSyslogMessageTimestamp", GetCurrentTime());
return true; // To process actions in the rule if we need themThis will store timestamp into custom attribute on the node. We can access parameters of the event, e.g. $event.getParameter("message") will be the message, so you can filter by that in the script if needed. return GetCurrentTime() - $node.setCustomAttribute("lastSyslogMessageTimestamp");So our DCI keeps number of seconds since last syslog message. You can set units to Uptime to display the value in human-readable form. Threshold would compare with the number of seconds that you need. dciId = FindDCIByName($node, "lastMessageTimestamp");
if (dciId != null) {
PushDCIData($node, dciId, GetCurrentTime());
}but the problem is that threshold on a DCI is processed only when new value is coming, so for that we need some DCI that is regularly collected.