Hi everyone, new to the forum, but we’ve been using CheckMK internally for a few years now.
Anyway, we want to monitor our AWS infrastructure, but some of our AWS infrastructure is hosted in the ap-east-1 (Hong Kong) region.
The existing built-in check doesn’t have that available that as a region, but it’s been an AWS region since 2019. Does anyone know if there’s plans to add support for AWS HK region in the AWS check plugin?
Your solution works on 1.6.0, but they changed the code quite significantly in 2.0, so that’s no longer valid.
However your reply gave me an idea, so I went and searched for the same region lines in my 2.0 installation…
So, for anyone else that may run into this:
You can edit the file below and add an extra line for the extra region (replace ‘sitename’ with your own checkmk site name)
/opt/omd/sites/sitename/lib/check_mk/utils/aws_constants.py
save changes to the file, then restart checkmk (‘omd stop’ then ‘omd start’).
After checkmk comes back up, do a full inventory scan on your AWS host object. It may take some time for CheckMK pull in the new zones from AWS. Mine took about 5 mins before new services started showing up for the new region, but it does work.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.