Welcome to Pandora FMS Community!

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

  • [SOLVED]plug-in timeout

    Posted by pmcdaid on October 24, 2012 at 00:37

    I have a plug-in module I created that usually works fine when it takes less than 10 seconds to run. However, sometimes it takes a longer time to run, about 15 seconds. (I determined the timing by running it on a command line.) In this situation the agent module value is not updating, because of a timeout, I suspect.

    The ‘Max. Timeout’ value for the plug-in is set to 30 seconds. I even tried 130 without success. (I also changed network_timeout to 30 in the pandora_server.conf file and restarted the server, but that probably does not matter here.)

    Guidance appreciated. (Pandora FMS v4.0.2 – Build PC120916)

    pmcdaid replied 12 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Nacho1988

    Member
    October 26, 2012 at 17:53
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello;

    Try increasing plugin timeout which parameter is called plugin_timeout (inside /etc/pandora/pandora_server.conf)

    Regards

  • pmcdaid

    Member
    October 26, 2012 at 23:43
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    That did it! Thanks, Nacho.