I'm trying to create a rule / alarm, that firing for the snapshots when have older than X days.
I use the Topology: VMWareSnapshot.
Using an adaptation of the function for create the older snapshot report, I tried to create the rule.
now = new Date().getTime();
diffHours = (now - creationSnapshot)/3600000;
diffDays = diffHours /24;
When I test the condition in the script console, and in the rule condition, it works fine, but when the rule never firing.
Am I forgetting something?
Thank for any help or any ideas
Strategic Solutions Consultant
Dell | Software Group, MCLA APM
office +57 312 568 4791, mobile +57 312 568 4791email firstname.lastname@example.org
We use a copy of the vBundle VM Snapshot Age rule and that seems to work for us.