Univention Bugzilla – Bug 47704
Nagios-Job for http://fqdn/api/v1/
Last modified: 2023-06-12 15:39:42 CEST
Currently if the HTTP-API fails hard for example if the API runs with an external DNS one has to manually check all logs. Especially for automatic sync jobs this is difficult to monitor. I suggest a nagios-check which at least check for http://fqdn/api/v1/ /var/log/univention/ucs-school-import/gunicorn_error.log ERROR:django.security.DisallowedHost:Invalid HTTP_HOST header: 'fqdn'. You may need to add u'fqdn' to ALLOWED_HOSTS.
This issue has been filed against UCS@school 4.3 or earlier. UCS 4.3 is out of maintenance and UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.