E
E
Evgeny N2020-08-07 21:06:14
Zabbix
Evgeny N, 2020-08-07 21:06:14

How to correctly display operational data?

I set up a template for monitoring UPS of the same model.
Configured the UPS trigger is running on battery. On the main screen of Zabbix there is a column of operational data, I often use it. I want it to display the last value of the item "working time".
The value itself is: {APC_S2_3KW_1: upsAdvBatteryRunTimeRemaining.last(0)} I'm using it on the UPSs scheme The

question is how to insert it into the template? I feel that somewhere near the answer is already and it is simple.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny N, 2020-08-07
@Evgen_N

Here is the solution, maybe it will be useful for someone:
Expression: (({APC_Monitoring:upsBasicStateOutputState.regexp(^.{1}1.*)})=1) and ({APC_Monitoring:upsAdvBatteryRunTimeRemaining.last()}>0)
Operational data: { ITEM.LASTVALUE2}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question