oat-sa / extension-tao-system-status
TAO system status
Installs: 7 424
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 43
Forks: 0
Open Issues: 5
Type:tao-extension
Requires
- oat-sa/extension-tao-scheduler: >=3.0.0
- oat-sa/generis: >=15.22
- oat-sa/lib-generis-aws: >=0.1.13
- oat-sa/oatbox-extension-installer: ~1.1||dev-master
- oat-sa/tao-core: >=50.30.0
- dev-master
- v1.8.0
- v1.7.0
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.1
- v1.5.0.1
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.19.2
- v0.19.1
- v0.17.0
- v0.16.0
- v0.13.1
- v0.13.0
- v0.12.1
- v0.11.4
- v0.11.3
- v0.11.2
- v0.11.1
- v0.10.1
- v0.9.0
- v0.8.0
- v0.5.5
- v0.5.2
- v0.5.0
- dev-develop
- dev-feature/sonarqube-integration
- dev-fix/update-autoRelease-action-with-bot-user
- dev-feature/AUT-2995
- dev-backport/OATSD-1348/NSA-177-tmp-cleanup-fix
- dev-remove-jenkinsfile
- dev-ci/add_github_actions
- dev-fix/NCC-152/AssignmentsReportKeepsTracksOfAssignment
- dev-feature/performance_monitoring
- dev-feature/TAO-9929-system-check-ui
- dev-feature/TAO-9929-system-check-ui-react
- dev-release-0.5.0
This package is auto-updated.
Last update: 2024-11-17 14:30:44 UTC
README
Extension supposed to be used to monitor the status of some services and the correct configuration of the TAO.
Installation
Requires the following CRON job on ALL instances (web and workers):
*/5 * * * * root cd /var/www/html/tao && /usr/bin/flock -n /var/lock/tao-InstanceCheck.lock -c "sudo -u www-data nohup /usr/bin/php index.php 'oat\taoSystemStatus\scripts\tools\RunInstanceCheck' 2>&1 >>/var/log/tao/InstanceCheck.log &"
NOTE: For AWS environemnts make sure that both Web Server Role and Worker Server Role have rights to perform:
- elasticache:DescribeCacheClusters
- rds:DescribeDBInstances
- cloudwatch:GetMetricData
Link to the help desk:
Configure \oat\taoSystemStatus\model\SystemStatus\SystemStatusService::OPTION_SUPPORT_PORTAL_LINK
of SystemStatusService
service
with appropriate url to show the link to the Help Desk portal on the Tao's system status page
Sending alerts:
For sending alerts to any additional services the AlarmNotificationService should be configured
For example sending alerts to OpsGenie config/tao/AlarmNotificationService.conf.php
:
<?php /** * Default config header created during install */ return new oat\tao\model\notifications\AlarmNotificationService([ 'notifiers' => [ [ 'class' => '\\oat\\tao\\model\\notifiers\\OpsGenieNotifier', 'params' => ['api-key'] ] ], 'dispatchTypes' => [ \oat\oatbox\reporting\Report::TYPE_ERROR //type of reports for sending ] ]);