Reverse proxy with URL rewrite issues for check_mk and nginx

I’m trying to run check_mk in docker behind a proxy, but I’m having problems with not being able to set the check_mk base_url. So check_mk is running on http://somehost:6000/sitename/check_mk/ and I need to access it from https://example.com/prefix/check_mk/ I have the following nginx setup: location /prefix/check_mk/ { proxy_pass http://somehost:6000; rewrite ^/prefix/check_mk/(.*) /sitename/check_mk/$1 break; } I also … Read more

Check_mk cannot login – invalid credentials

I’ve installed omd 2.90-labs-edition. After creating new site I want to login to check_mk (1.2.8.p20) web interface, but the given credentials do not work, I’ve got “Invalid credentials”. This credentials only work for thruk web interface. Here’s output for creating a new site: Adding /omd/sites/test/tmp to /etc/fstab. Creating temporary filesystem /omd/sites/test/tmp…OK Apache port 5000 is … Read more

Check_MK AWS monitoring – RDS checks not working

I have configured AWS monitoring with Check_MK version 1.5.0p13 (following the documentation at the official Check_MK site). Everything works, except RDS checks, when I go to discover services, I get: Service discovery failed for this host: ‘DBName’ Is there anything I can do to debug this issue, where can I get some more output? Any … Read more

Check_MK: Custom User Notification goes to all users not to the one in Contact Groups

I would like to kindly ask for some advice. I have configuration that looks like this: Users are in Contact Groups. In Host Folders I have permissions to Contact Groups. And Hosts inherits this setting from folders That works fine for Global Notification Rules But I Have SMS notifications with different time periods defined. So … Read more

check_mk send notifications based on service status in Nagios

I have some services status in “Warning”, “Unknown” and “Critical”. I would like to send notifications for “Warnings” and “Unknown” every hour and for “Critical” every 10 minutes. Right now my set up only sends notifications for “Critical” every 30 minutes. I have not seen how to change it based on status: extra_service_conf[“notification_interval”] = [ … Read more