Use case
I am on site at a remote location, repairing a connectivity problem, and I have no PC or laptop. After I restore the link I need to know right away whether monitoring sees the host again. Some items have update intervals of 15 minutes or more, so waiting for the next scheduled check is not workable. I need to trigger a check from the phone and see the new value within seconds, to know if the fix worked and whether to stay on site.
Current behavior
The mobile app has no way to refresh an item. The web frontend offers Execute now (Monitoring > Latest data), but this is not available in the app.
Requested behavior
- From an item in the mobile app, an "Execute now" action that queues an immediate check.
- After the check, the app shows the new value and timestamp (automatic refresh or pull-to-refresh).
- Clear status if the check was queued, the item type does not support it, or the user lacks permission.
- Works for hosts monitored through proxies, as in the frontend.
Technical notes
- The API already has task.create (check now) and history.get / item.get for reading the result.
- The user role must permit Execute now, the same as in the frontend. Items that cannot use Execute now in the frontend are out of scope.
- The bridge adapter's allowed methods would need to include task.create and the read methods.
Depends on / related
ZBXNEXT-10943 Mobile app: view hosts, items and latest values, with navigation problem > trigger > item > host - ZABBIX SUPPORT