List of Variable Parameters
The list of Variable Parameters is as follows:
- storeAs: A variable to store the result for later use in the [Calculate:] macro.
- storeAshidden: stores and hides a result.
- hidden: Whether to hide the result. The default value is false.
- colorTableCell: If using the parameters below and the macro is in a table cell, by default the table cell background color is changed instead of the font color. To override this behaviour, set this parameter to false.
- fontBold: If set, the font weight will be set to bold(if true) or normal (if false). The default is for no change to occur.
- fontColor: If set, the font color will be set. The default is for no change to occur.
- fontBackgroundColor: If set, the font background color will be set. The default is for no change to occur.
- fontSize: If set, this is the required font size in points between 2 and 200.
- format: A .NET format string. For example N2 means "to 2 decimal places".
- criticalAfter (dates only)
- criticalBefore (dates only)
- criticaEq: The result of the calculation is considered "critical" if it is equal to this value.
- criticalGt: The result of the calculation is considered "critical" if it is greater than the value specified.
- criticalGe: The result of the calculation is considered "critical" if it is greater than or equal to the value specified.
- criticalIf: The result of the calculation is considered "critical" if the expression evaluates to true.
- criticaNe: The result of the calculation is considered "critical" if it is not equal to this value.
- criticalLe: The result of the calculation is considered "critical" if it is less than or equal to this value.
- criticalLt: The result of the calculation is considered "critical" if it is less than this value.
- criticalFontBackgroundColor
- criticalFontBold
- criticalFontColor
- criticalFontSize
- criticalTableCellBackgroundColor
- errorAfter (dates only)
- errorBefore (dates only)
- errorEq: The result of the calculation is considered an error if it is equal to this value.
- errorGt: The result of the calculation is considered an error if it is greater than this value.
- errorGe: The result of the calculation is considered an error if it is greater than or equal to this value.
- errorIf: The result of the calculation is considered an error if the expression evaluates to true.
- errorNe: The result of the calculation is considered an error if it is not equal to this value.
- errorLe: The result of the calculation is considered an error if it is less than or equal to this value.
- errorLt: The result of the calculation is considered an error if it is less than this value.
- errorFontBackgroundColor
- errorFontBold
- errorFontColor
- errorFontSize
- errorTableCellBackgroundColor
- fatalAfter (dates only)
- fatalBefore (dates only)
- fatalEq
- fatalGe
- fatalGt
- fatalIf
- fatalLe
- fatalLt
- fatalNe
- fatalFontBackgroundColor
- fatalFontBold
- fatalFontColor
- fatalFontSize
- fatalTableCellBackgroundColor
- infoAfter (dates only)
- infoBefore (dates only)
- infoEq
- infoIf
- infoGe
- infoGt
- infoIf
- infoLe
- infoLt
- infoNe
- infoFontBackgroundColor
- infoFontBold
- infoFontColor
- infoFontSize
- infoTableCellBackgroundColor
- normalEq
- normalGe
- normalGt
- normalLe
- normalLt
- normalNe
- normalFontBackgroundColor
- normalFontBold
- normalFontColor
- normalFontSize
- normalTableCellBackgroundColor
- warningAfter (dates only)
- warningBefore (dates only)
- warningGt: The result of the calculation is marked as a warning if it is greater than this value.
- warningGe: The result of the calculation is marked as a warning if it is greater than or equal to this value.
- warningEq: The result of the calculation is marked as a warning if it is equal to this value.
- warningIf: The result if the calculation is marked as a warning if the expression evaluates to true.
- warningNe: The result of the calculation is marked as a warning if it is not equal to this value. warningLe: The result of the calculation is marked as a warning if it is less than or equal to this value.
- warningLt: The result of the calculation is considered a warning if it is less than this value.
- warningFontBackgroundColor
- warningFontBold
- warningFontColor
- warningFontSize
- warningTableCellBackgroundColor
Note: Parameters that are not interpreted are ignored, so check that you have typed everything accurately.
Examples
[LogicMonitor.SummaryValue:host=dev.panoramicdata.com,graphName=CPU Usage,dataSourceInstanceName=WinCPU,storeAs=cpu1,aggregation=max,dataPoint=Busy,hidden=false]
[LogicMonitor.SummaryValue:host=dev.panoramicdata.com,graphName=Queue Length,dataSourceInstanceName=WinCPU,storeAs=cpu2,aggregation=max,dataPoint=Queue Length,hidden=false,criticalGe=75]
[Calculate:value=Max(cpu1`cpu2),criticalGe=75,errorGe=65,warningGe=55]
[LogicMonitor.PercentageAvailability:host=dev.panoramicdata.com,dataSourceInstanceName=WinCPU,storeAs=CpuPercent,warningLt=50,hidden=false]
[String:value=TEST,fontColor=Red,fontBackgroundColor=Yellow,fontBold=true,fontSize=200]