check_mk_agent plugins don't specify their python shebang properly as required by https://www.python.org/dev/peps/pep-0394/: #!/usr/bin/python so on system that have Python3 set as their default Python interpreter the plugins silently fail to run during check_mk, or not silently when called directly, e.g. plugins/apache_status: File "/usr/lib/check_mk_agent/plugins/apache_status", line 146 except urllib2.URLError, e: ^ SyntaxError: invalid syntax This should be brought to attention upstream, I've sent an email to their feedback address as they don't seem to have some community user friendly way to report bugs. For now something along the line could be added to the ebuild: src_prepare() { # Errors when running under Python 3 sed \ -e 's:/usr/bin/python:/usr/bin/python2:' \ -i "${S}"/plugins/{apache_status,isc_dhcpd,mk_inotify,mk_mongodb} \ || die default }