Check_mk agent doesn't work: wrong bash path
The official Check_mk agent package doesn't work because the shebang line at the top of /usr/local/bin/check_mk_agent is wrong: it needs to be #!/usr/local/bin/bash, not #!/bin/bash.
#2 Updated by Peter Baumann over 4 years ago
I found a solution to the problem.
Since the check_mk pfSense Package is downloading the latest check_mk_agent.freebsd (1.2.7i1) it needs bash to work which is not installed on pfSense anymore.
I tried now the stable release of the check_mk_agent which is version 1.2.6 which is working well and using /bin/sh.
So is it possible for the check_mk_agent package maintainer to use the 1.2.6 version of the agent?
#3 Updated by Peter Baumann over 4 years ago
Fix would be the following: https://github.com/pfsense/pfsense-packages/pull/829