Bug 52492 - implement monitoring-check for univention-portal-server.service
implement monitoring-check for univention-portal-server.service
Status: NEW
Product: UCS
Classification: Unclassified
Component: Portal
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-12-14 15:47 CET by Marc Schwarz
Modified: 2020-12-14 15:58 CET (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schwarz univentionstaff 2020-12-14 15:47:47 CET
UCS: 4.4-7 errata835
Installed: adconnector=12.0 itslearning=3.2 self-service=4.0 self-service-backend=4.0 ucs-to-school-transformer=1.3.2 ucsschool=4.4 v8 ucsschool-id-connector=2.0.0 ucsschool-kelvin-rest-api=1.2.0


In the customers environment the univention-portal-server.service stopped out of a sudden (result: empty portal page) for no apparent reason. It would be good, if there would be a monitoring check for that service.




root@ucs-master:# systemctl status univention-portal-server.service
● univention-portal-server.service - Univention Portal server
   Loaded: loaded (/lib/systemd/system/univention-portal-server.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Mon 2020-12-14 12:49:32 CET; 1h 31min ago
  Process: 12368 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 3155 (code=killed, signal=TERM)
      CPU: 1h 23min 32.057s

Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting portal from cache
Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: getting entries from cache
Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting entries from cache
Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: getting links from cache
Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting links from cache
Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: getting categories from cache
Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting categories from cache
Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: getting entries from cache
Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting entries from cache
Dez 14 14:17:35 ucs-ma systemd[1]: univention-portal-server.service: Unit cannot be reloaded because it is inactive.


root@ucs-master:# systemctl start univention-portal-server.service
root@ucs-master:# systemctl status univention-portal-server.service
● univention-portal-server.service - Univention Portal server
   Loaded: loaded (/lib/systemd/system/univention-portal-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2020-12-14 14:21:21 CET; 1s ago
  Process: 12368 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 21266 (univention-port)
    Tasks: 1 (limit: 4915)
   Memory: 136.9M
      CPU: 1.276s
   CGroup: /system.slice/univention-portal-server.service
           └─21266 /usr/bin/python2.7 /usr/bin/univention-portal-server

Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: Writing CSS file /var/www/univention/portal/portal.css
Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: INFO:univention.portal.css:Writing CSS file /var/www/univention/portal/portal.css
Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: loading cache file
Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: INFO:univention.portal.cache:loading cache file
Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: getting portal from cache
Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: DEBUG:univention.portal.cache:getting portal from cache
Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: getting entries from cache
Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: DEBUG:univention.portal.cache:getting entries from cache
Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: loading group cache file
Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: INFO:univention.portal.cache:loading group cache file