Pandora FMS Community

cant add WMI string to a new WMI component

knoxel · 7 mar 2014, 19:14 · 22 mensajes · 104 visitas

  1. Hello Ivo, I've already tested this. I always test it at the shell before testing it in Pandora FMS because it is faster and with a more detailed output. If I put a "1" in there I get the normal Output line. It looks like "gawk '{print $2}'" prints the 2nd line (which is empty) while "gawk '{print $1}'" prints the first line. I have tested it with "cut -c 4-6" and it runs fine at the shell, I get just the number. If I put it in Pandora FMS at the WMI Query I don't get any result and have an uninitialized module. Regards, Philipp

  2. Hello There might be some space after the number. Try inputting: | tr -d 'n'  at the end. Regards Ivo

Entra en tu cuenta para publicar.