Welcome to Pandora FMS Community › Forums › Community support › how to custom module?
-
how to custom module?
Posted by timtimhk on May 9, 2007 at 12:23For 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_endTHANKS
raul replied 17 years, 9 months ago 3 Members · 5 Replies -
5 Replies
-
-
::
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_endOr 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
-
::
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_endTHANKS
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.
-
-