Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Cannot use commands without YAML dependency

  • Cannot use commands without YAML dependency

    Posted by Thibault on May 25, 2023 at 14:13

    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

    Sergio replied 1 year, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Sergio

    Administrator
    May 25, 2023 at 14:21
    1342 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    1
    Down
    Drop it
    ::

    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.