Bug 47704 - Nagios-Job for http://fqdn/api/v1/
Nagios-Job for http://fqdn/api/v1/
Status: CLOSED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
UCS@school 4.3
Other Mac OS X 10.1
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-30 21:28 CEST by Michel Smidt
Modified: 2023-06-12 15:39 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Smidt 2018-08-30 21:28:37 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.
Comment 1 Jan-Luca Kiok univentionstaff 2023-06-12 15:32:11 CEST
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.