Welcome to Pandora FMS Community!

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

  • how to custom module?

    Posted by timtimhk on May 9, 2007 at 12:23

    For example,
    i want to check the people play game or not(warcraftIII)
    I put “Warcraft III.exe” to D:/war
    but i cant monitor it
    my pandora_agent.conf

    # Is warIII process alive ?
    module_begin
    module_name war
    module_type generic_proc
    module_proc D:warWarcraft III.exe
    module_description cmd
    module_end

    THANKS

    raul replied 17 years, 9 months ago 3 Members · 5 Replies
  • 5 Replies
  • timtimhk

    Member
    May 9, 2007 at 20:09
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    anyone can answer me..

  • raul

    Member
    May 9, 2007 at 20:52
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Have you tried this:
    [code:1]module_begin
    module_name Proc_cmd
    module_type generic_proc
    module_proc “Warcraft III.exe”
    module_description Wc3
    module_end

    Or try without the quotes(“), I don’t know at this moment if the space will be parsed, if this it’s the problem, try also:

    [code:1]module_proc

    This said the xml parser to use the text “as it is”
    (Read http://www.openideas.info/phpbb/viewtopic.php?t=365)

    Raúl

  • Sancho

    Administrator
    May 10, 2007 at 13:30
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    For example,
    i want to check the people play game or not(warcraftIII)
    I put “Warcraft III.exe” to D:/war
    but i cant monitor it
    my pandora_agent.conf

    # Is warIII process alive ?
    module_begin
    module_name war
    module_type generic_proc
    module_proc D:warWarcraft III.exe
    module_description cmd
    module_end

    THANKS

    I will suppose that you’re running Windows agent… you need to use windows specific module to detect process running, let’s see the example module provided with Windows Agent:

    # Is lsass.exe process alive ?

    module_begin

    module_name Proc_lsass

    module_type generic_proc

    module_proc lsass.exe

    module_description LSASS Process

    module_end

    First check name of .exe in your system, use task manager to see exactly the name (uppercase is different than lowercase) and replace

    module_proc lsass.exe

    for exaple, by :

    module_proc “Warcraft III.exe”

    I hope this helps.

  • timtimhk

    Member
    May 11, 2007 at 04:54
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    cant detect too….
    but my warcratIII.exe is putting in D Drive..

  • raul

    Member
    May 11, 2007 at 14:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It doesn’t matter the Hard Drive, only the name of the process.