Pandora FMS community forums
module in pandora_agent not "loaded" - Printable Version

+- Pandora FMS community forums (
+-- Forum: Pandora FMS (
+--- Forum: Advanced troubleshooting and problems (
+--- Thread: module in pandora_agent not "loaded" (/thread-12066.html)

module in pandora_agent not "loaded" - enrico.gherardo - 06-25-2018

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_name JavaCheck
module_type generic_data
module_description Check for java errors
module_min 0
module_max 3
module_min_critical 1

Where 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 ?