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 Advanced troubleshooting module in pandora_agent not “loaded”

  • module in pandora_agent not “loaded”

    Posted by enrico-gherardo on June 25, 2018 at 20:43

    Hello I’ve spent some time today to try fix this and nothing happens.
    I’m trying to add a custom module to an agent config file, and I’ve already done something similar in other servers.

    The module is this :

    module_begin
    module_name JavaCheck
    module_type generic_data
    module_exec applog.py
    module_description Check for java errors
    module_min 0
    module_max 3
    module_min_critical 1
    module_end

    Where applog.py is a python script who performs some regexing on an application logfile.
    It works from commandline as expected, owned by root (same user of pandora), perms 755.
    It returns 0 if no errors are matched, otherwise returns 1.
    RC 2-3 are thrown in case the applog is misconfigured.

    It is never uploaded to server even if the agent is in apprentice mode.
    I tried to verify pandora_agent.log, but it shows nothing about this.
    I tried to restart the agent in debug mode, and it generates an xml who NEVER CONTAINS the indicated module.
    It just reports data from the first, default installed modules of the agent. nothing else.

    This is weird cause in other machines new modules were imported right away.
    Someone can help me ?

    Thanks

    enrico-gherardo replied 6 years, 4 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.