Check_mk_agent: Command not found

  • Hello,
    I have a fresh install of 2.2-RELEASE-pfSense and added check_mk_agent over the package manager in the GUI.
    Then I get an error from the monitoring that the check_mk_agent cannot be started on the pfSense.

    I did some troubleshooting:

    1. Manual start check_mk_agent:

    # check_mk_agent
    check_mk_agent: Command not found.

    -> It seems that check_mk_agent is looking for /bin/bash but this is not installed on pfSense.
    I installed bash:

    # pkg
    The package management tool is not yet installed on your system.
    Do you want to fetch and install it now? [y/N]: y
    # pkg update
    Updating FreeBSD repository catalogue...
    Fetching meta.txz: 100%   944 B   0.9k/s    00:01
    Fetching packagesite.txz: 100%    5 MB 755.5k/s    00:07
    Processing entries: 100%
    FreeBSD repository update completed. 23812 packages processed
    # pkg install bash

    But bash is now at /usr/local/bin/bash.
    When I changed check_mk_agent from #!/bin/bash to #!/usr/local/bin/bash check_mk_agent is working then.

    So can please the maintainer of check_mk_agent upgrade the package that it is working again with 2.2-RELEASE?
    Bug is here:

    Many thanks!

    Best regards,

  • Hello,

    same issue here please fix :)