I know this has been covered elsewhere and apparently not possible, but I was wondering if anyone had any bright ideas to achieve the same;
effectively what I'm trying to do is have a calculated item that takes its input from a macro -
?last(/{$MACRO}/runtime)
where $MACRO is the name of a UPS and the macro is defined in the systems that are connected to that UPS
from that a second macro on the host would define the minimum runtime required to keep that machine up and when it falls below would trigger an event to shut it down and switch off.
during testing i've hard input the the UPS name in the calculated item and my trigger is running the shutdown script, so the process does work I'd just like to move it all into a template and define a couple of macros.
effectively what I'm trying to do is have a calculated item that takes its input from a macro -
?last(/{$MACRO}/runtime)
where $MACRO is the name of a UPS and the macro is defined in the systems that are connected to that UPS
from that a second macro on the host would define the minimum runtime required to keep that machine up and when it falls below would trigger an event to shut it down and switch off.
during testing i've hard input the the UPS name in the calculated item and my trigger is running the shutdown script, so the process does work I'd just like to move it all into a template and define a couple of macros.