Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fast health check monitoring user agent matches #710

Open
seanhamlin opened this issue Mar 23, 2023 · 1 comment
Open

Update fast health check monitoring user agent matches #710

seanhamlin opened this issue Mar 23, 2023 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@seanhamlin
Copy link
Contributor

seanhamlin commented Mar 23, 2023

I spot a few issues at present https://github.com/uselagoon/lagoon-images/blob/main/images/nginx/helpers/90_healthz_fast_check.conf.disabled#L3

if ( $http_user_agent ~* "StatusCake|Pingdom|Site25x7|Uptime|nagios" ) {

There is a typo with Site25x7, this should be Site24x7.

Also, we should likely force the new amazee.io monitoring bot through this too. so perhaps

if ( $http_user_agent ~* "StatusCake|Pingdom|Site24x7|Uptime|nagios|[Mm]onitoring" ) {

This would catch the following user agents

amazee.io-monitoring - clusterX - [email protected]
Microsoft Monitoring Agent 10.22.10056.0
Splunk Website Monitoring (+https://splunkbase.splunk.com/app/1493/)
@seanhamlin seanhamlin added bug Something isn't working enhancement New feature or request labels Mar 23, 2023
@tobybellwood
Copy link
Member

:oof: - yup this makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants