i've been trying to configire the windows agent to do what i want. One of the problems i run into is that 'UserParameter' are difficult to use, because command line filters like 'cut', 'grep', 'sed' and others don't exist in a standard windows system.
of course i can install them, but that will make the installation much more difficult and won't help performance.
In many cases I just want and some columns (cut) from some line (find) and trim the spaces. It would be great if UserParameter could have a line nr, position, and nr of chars to get a number or text from the output of a command.
it would be usable for:
geting ip, gateway or other info from 'ipconfig /all'
getting tcp/udp/ip statistics from 'netstat -s'
getting network statistics from 'netstat -e'
getting logged in username from ''pulist | find /I "explorer.exe" (pulist is process list from win resource kit)
of course i can install them, but that will make the installation much more difficult and won't help performance.
In many cases I just want and some columns (cut) from some line (find) and trim the spaces. It would be great if UserParameter could have a line nr, position, and nr of chars to get a number or text from the output of a command.
it would be usable for:
geting ip, gateway or other info from 'ipconfig /all'
getting tcp/udp/ip statistics from 'netstat -s'
getting network statistics from 'netstat -e'
getting logged in username from ''pulist | find /I "explorer.exe" (pulist is process list from win resource kit)
Comment