Sounds great
Thanks!
Best regards,
Dan
Thanks!
Best regards,
Dan
We really need your input in this questionnaire
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 MenuQuote from: Victor Kirhenshtein on August 20, 2010, 09:54:41 AM
Hi!
I would suggest to change alarm key in your configuration for %m (message text) to DC_%i_%5 - that would create separate alarms for different nodes, even if they have same message text. But anyway, that is not important for sending e-mails. From information you have sent it is not clear why you getting e-mail only for 1 DCI - I should see configuration and values of all 4 DCIs. Also, was it your intention to send e-mails every minute as long as there are files matching filter?
Best regards,
Victor
sub main() {
numImages = $1;
if ($node->name ~= "^(.*)ru[rf]([0-9]{2})1") {
plaza = $1;
lane = int64($2);
}
mlc = plaza . "mlc010";
mlcNode = FindNodeObject($node, mlc);
dciName = "Total number of transactions in Lane " . lane;
numTransactions = GetDCIValue(mlc_node, FindDCIByDescription(mlcNode,dciName));
return (numImages / numTransactions) * 100;
}