Pandora FMS Community

Module_exec

swtch3k · 9 oct 2015, 10:49 · 4 mensajes · 51 visitas

  1. Inicio del debate

    hi guys, i have the following problem. if i want to config my agent by adding a module to grep the top heavy task i get an error on the ui. the command for my win-client is tasklist | "sort /+65 /R" | gawk " NR == 3, NR == 7 {print$1}" if i use these directly i succeed with no problems, but if i add it into the conf i get the error sort: /tmp/sort0398400000: No such file or directory

  2. with i get the error tasklist | sort  "/+65 /R" | gawk " NR == 3, NR == 7 {print$1}" sort: /+65 /R: No such file or directory

  3. have took alternativly module_exec tasklist /v /fi "Memusage gt 50000" | sort| gawk {print$1,$5} instead of that with succeed

  4. Hi swtch3k, Thanks for the reply, this will probably help someone else in the future :D Regards, Emilio.

Entra en tu cuenta para publicar.