weizhouapache commented on PR #13219:
URL: https://github.com/apache/cloudstack/pull/13219#issuecomment-5644885339
>
> @weizhouapache I tried a VPC without tiers on a clean 4.22 branch setup
(KVM, 4.22.0 systemvm template), without this change.
>
> The router only gets ssh in its monitor config. The health check results
show no FAILED checks and no alert is raised. `dhcp_check.py` reports UNKNOWN,
which I think is intended since #10710. So I could not reproduce the
webserver.service alert from #10088 on 4.22.
>
> Also, as far as I can see, `excluded_health_checks` is only applied to the
scripts in `/root/health_checks` in `monitorServices.py`. The service checks
from `monitProcess()` (for example `webserver.service`) do not look at it, and
the name added here is `apache2`, not `webserver.service`.
the monitor service "webserver" is actually mapped to the `apache2` service
inside VR
```
*************************** 1. row ***************************
id: 4
uuid: bcb5744a-ba1a-11f0-9974-1e00b5000454
service: webserver
process_name: apache2
service_name: apache2
service_path: /etc/init.d/apache2
pidfile: /var/run/apache2/apache2.pid
isDefault: 1
1 row in set (0.00 sec)
```
>
> Could you share the steps to get the webserver.service failure? I will
reproduce them in my lab and test this PR with and without the change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]