After upgrading to php8.1 I got the message “Error polling unix-agent module” for all devices.
I fixed it temporary with the following statement (*) on line 140 in unix-agent.inc.php
-
if (!is_array($agent_data['app'])) {$agent_data['app']=array();}; foreach (array_keys($agent_data['app']) as $key) { if (file_exists("includes/polling/applications/$key.inc.php")) {