Pandora FMS community forums

Full Version: Simple WMI query not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have never used Pandora before for querying Windows services over WMI. I tried to create a simple monitor but somehow it´s not working. Perhaps you can help me where the error is?

I did this:

- Create a new WMI server module
- named it "Spooler Service"
- changed nothing up to the next point
- Target IP: 192.168.0.101
- Namespace: blank
- Username: Administrator (local of the server)
- Password: password of the local administrator
- WMI query: select state from Win32_Service where name = 'Spooler'
- Key String: blank
- Field Number: blank
- changed nothing else

Unfortunately the module is not initialising.

Did I miss something? I have checked the pandora_server.conf file where the wmiserver is enabled. Is the server blocking something? Are there any logs I can check?

Thanks in advance for your kind help!
I think I found the issue... after reading a bit more about WMI queries I found out that I have to enter a keystring. In this case "Running". Using the WMI wizard helped me as well to figure out the problem. It´s running now :)