Analyze your incoming metrics and look for interruptions in continuously increasing or decreasing metrics with the monoinc and monodec history functions. A continuous increase or decrease is the norm for metrics such as server uptime, time remaining until a task is executed, number of daily transactions, and many other such use cases. A software or […]
Please login to comment
Login
Can this expression be used to do the opposite of what’s described here, as in trigger an alert when a value that’s normally static begins to increment or decrement?
For example, I have an SNMP value from a UPS that reports the battery capacity in percent. Normally the value will be at 100%. If the value starts to decrement, that would indicate the battery is discharging and I would like an informational alert to trigger alerting of that fact. Would the following expression work to indicate the value has decremented over the last 5 minute period:
monodec(/Vertiv/ifBatteryCapacity,5m)=1
Or is there a better way to go about this?