Welcome to Pandora FMS Community!

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

  • Contrack Ram full

    Posted by neverland on November 20, 2007 at 08:38

    Is there any function in pandora to order shutdown -r now in server
    machine when it get full of contrack ram?
    thank

    manu replied 17 years, 3 months ago 3 Members · 5 Replies
  • 5 Replies
  • manu

    Member
    November 20, 2007 at 13:15
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Nope, that’s a system issue, it has nothing to do with PandoraFMS.

    On the other hand, you could set an alert to do shutdown -r when the contrack gets full.

    Hope this helps.

  • neverland

    Member
    November 21, 2007 at 10:07
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    what should be an assigned module?
    thank

  • rnovoa

    Member
    November 21, 2007 at 12:43
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi neverland,

    Assign it to the module you use to check whether conntrack’s hash table is full.

    In case you have not written such a module yet, all you have to do is grep /var/log/messages for the string “ip_conntrack: table full”.

  • neverland

    Member
    November 22, 2007 at 06:58
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    hi i am not sure if i doing the right thing
    anyway what i have done
    1.write module in pandora_agent.conf and pandora_user.conf
    2. try to add module alert but the module that i have written it does not show up in Agent configuration > Modules
    Assigned modules Module assignment when i set the agent as learning mode …so maybe i make sth wrong.

  • manu

    Member
    November 22, 2007 at 12:12
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi neverland,

    Firstly , you only have to add the module to one “modules file”, that’s to say, either pandora_agent.conf or pandora_user.conf
    I encourage you to add it to the pandora_agent.conf since it’s easier.

    Secondly, can you post here the module you’ve added to pandora_agent.conf ?
    Is it well-written?

    Thirdly, you’re right, the agent has to be in “learning mode” otherwise, it won’t process any new module you’d add.

    Cheers.