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 Pandora agent 2.1 – error while trying to call an exe file

  • Pandora agent 2.1 – error while trying to call an exe file

    Posted by lcourcelle on July 15, 2010 at 12:54

    Hi there,

    I still have a Pandora 2.1 install. 
    I’m trygin to start an exe file that is calling an Interactive Voice Response server via a modem connected to the machine where the agent is installed.

    The “sonne.exe” file is located in the util directory of the pandora agent.  It relies on a config file and a dll, both files are in the same directory of the exe.

    I have no problem starting it via the explorer (interactive way), it works great, nevertheless, via the pandora agent, I have this message in the log file :
    2010-07-15 08:47:45 Pandora_Module_Exec: CallSVI did not executed well (retcode: 259)

    Here are the lines added for the CallSVI module :
    # Appeler SVI1 et SVI2
    module_begin
    module_name CallSVI
    module_type generic_data
    module_exec sonne
    module_description Appeler SVI1 et SVI2
    module_interval 1
    module_end

    I’ve configured several modules which are calling bat files located in the same directory, I’ dont know what’s wrong.

    Any help would be appreciated !

    In advance, ,thank you.

    Best regards,
    Laurent

    rnovoa replied 14 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • rnovoa

    Member
    July 19, 2010 at 16:23
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Laurent,

    Does sonne.exe take a long time to execute? It could be a timeout. You can try with a 3.1 agent setting a high module_timeout (it doesn’t work in 2.1):

    # Appeler SVI1 et SVI2
    module_begin
    module_name CallSVI
    module_type generic_data
    module_exec sonne
    module_description Appeler SVI1 et SVI2
    module_interval 1
    module_timeout 10000
    module_end