Open ukusormus opened 2 weeks ago
can you create a PR? Good check.
I can see it's already covered by @hudolejev in PR https://github.com/romankuchin/ica0002-2024/pull/16 (with a bunch of other changes)
there are breaking changes, that we agreed not to apply this year. So, feel free to propose your solution
tldr: because nginx runs on both VM-s and some people haven't blocked the
/
path for the non-webserver VM, there will be "welcome to nginx" page that returns HTTP response status 200 - that signals to theagama-client
script that it's ok to continue, and it tries to get the VM name from the page (ends up with empty string) and send that to influxdb. influxdb doesn't like that, returns 400 (my influxdb logs had relatively many of these failed requests). (+ extra POST to non-existent agama)possible fix something like this:
also a typo at
# Write stats to inflixdb