we want to monitor wazhu agetent and manager using Wazuh Rest API
host template:App-Wazuh-Restapi-custom we used and getting error
UNKNOWN: 401 Unauthorized
![](https://uploads-eu-west-1.insided.com/centreon-en/attachment/b8c414ee-d522-4848-a047-30c5b6c8a300.png)
/usr/lib/centreon/plugins/centreon_wazuh_restapi.pl --plugin=apps::wazuh::restapi::plugin --mode=manager --hostname='****' --username='****' --password='***' --port='55000' --proto='https' --insecure --filter-process='' --filter-log='' --warning-processes-stopped='' --critical-processes-stopped='' --warning-processes-running='' --critical-processes-running='' --warning-log-error='' --critical-log-error='' --warning-log-critical='' --critical-log-critical='' --warning-log-warning='' --critical-log-warning='' --warning-process-status='' --critical-process-status='' --verbose
![](https://uploads-eu-west-1.insided.com/centreon-en/attachment/227a8de4-0d42-4e88-b8b7-713e91dee81a.png)
Thanks You
Best Regard