Hello,
I’m trying to understand how options ‘--regexp-name/--process-name’ work together in plugin centreon_windows_wsman.pl. I haven’t get it.
According to help info:
--process-name: Filter process name.
--regexp-name: Allows to use WQL wildcard to filter process name (with option
--process-name).
How does it mean? What is the right way to do it? Is it a real regular expression? Or a WQL-sysntax query? Where do I have to put the regexp? If I want to get all processes starting with ‘p’, how do I have to write the options?:
- --process-name --regexp-name=”^p” ?
- --process-name=”^p” --regexp-name ?
- --process-name --regexp-name=”%p” ?
- --process-name=”%p” --regexp-name ?
- --regexp-name=”^p” ?
- ..
- …
I haven’t found the way…
If anybody can give me some light...Thanks in advance.
Regards,
Albert