Welcome to Pandora FMS Community!

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

  • Pandora Agent Init Script

    Posted by Jose on May 3, 2023 at 19:35

    Hello,

    In Linux, when the agent is installed, there are two init scripts created:

    – /etc/init.d/pandora_agent_daemon

    – /etc/systemd/system/pandora_agent_daemon.service (systemd unit)

    If I start the agent’s service with /etc/init.d/pandora_agent_daemon start an then when I issue the command systemctl status pandora_agent_daemon.service, the output will tell that the service is inactive.

    How to make systemctl know if the agent is running (even if the agent is executed manually)?

    Sometimes when the agent is no running and I type systemctl start andora_agent_daemon.service, I get the error “Start request repeated too quickly”

    Is there a way to improve the script of the pandora_agent_daemon.service unit, taking into account that the current Linux distributions use systemd to manager services.

    What do you recommend?

    Thanks in advance

    vic replied 1 year, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • vic

    Administrator
    May 4, 2023 at 18:21
    1533 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Jose,

    We recommend the use of “/etc/init.d/pandora_agent_daemon” to perform actions with the service (start, stop, status or restart).

    Best regards,

    Víc.