Pandora FMS Community

Cannot use commands without YAML dependency

Thibault · 25 may 2023, 14:13 · 2 mensajes · 81 visitas

  1. Inicio del debate

    On a log file of a software agent installed on Ubuntu 20.04, I've found the following message

    [error] - Cannot use commands without YAML dependency, please install it.

    I've easily solved it by running apt install libyaml-tiny-perl

    Anyway, this dependency could be added in the script https://pfms.me/agent-deploy on line 171

    execute_cmd "apt install -y perl wget curl unzip procps python3 python3-pip" 'Installing agent dependencies'
    It's just about adding this dependency

    execute_cmd "apt install -y perl wget curl unzip procps python3 python3-pip libyaml-tiny-perl" 'Installing agent dependencies'

    Note this missing dependency doesn't prevent the sotware agent to work ... but I guess some info were missing

  2. Hello Thibault,

    Yes as you well said, this dependency is optional, it is not necessary if you are not planning on using YAML commands.

    If you skip this dependency the software Agent works perfectly fine.

    Kind regards,

    Sergio B.

Entra en tu cuenta para publicar.