TECHZEN Zenoss User Community ARCHIVE  

Error model device with community.wmi. plugin

Subject: Error model device with community.wmi. plugin
Author: [Not Specified]
Posted: 2013-12-28 11:20

RSS
QnA Zen Rank: White Belt
QnA Zen
15 posts since
Nov 17, 2013
3
Dec 26, 2013 1:30 AM
Error model device with community.wmi. plugin

This question is Not Answered.(Mark as assumed answered)

A device in class /Server/Windows/WMI/HyperV

Only using modeler plugins " community.wmi.WinServiceMap ", "community.wmi.FileSystemMap"

Below error returned when model device, any idea Windows Firewall is turned off and WinUser account has local admin permission.

I can run wbemtest on the client , and get normal result.

I created a WMI datasource with query SELECT * FROM Win32_LogicalDisk, can get proper data from this client.

WARNING:zen.SQLClient:Error in community.wmi.FileSystemMap query "SELECT * FROM Win32_LogicalDisk": Retrieve result data. on xxx.xxx.xxx.xxx (WERR_INVALID_PARAM)

WARNING:zen.SQLClient:Error in community.wmi.WinServiceMap query "SELECT * FROM Win32_Service": Retrieve result data. on xxx.xxx.xxx.xxx (WERR_INVALID_PARAM)
INFO:zen.SQLClient:SQL client finished collection for ServerName

WARNING:zen.PythonClient:Error in community.wmi.FileSystemMap: Retrieve result data. on xxx.xxx.xxx.xxx (WERR_INVALID_PARAM)

WARNING:zen.PythonClient:Error in community.wmi.WinServiceMap: Retrieve result data. on xxx.xxx.xxx.xxx (WERR_INVALID_PARAM)

Attachments:

Attachment Zenoss -model device error.png (27.1 K)

Like (0)
Reply

Tags: none (add)

hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
1. Dec 26, 2013 9:43 AM (in response to QnA Zen)
Re: Error model device with community.wmi. plugin

The WinUser account will require more than local admin privileges for WMI

to work, unless it's the actual "administrator" account that you're using.

This link is not a complete guide (

https://support.zenoss.com/ics/support/default.aspdeptID=16059) but it

will get you rolling in the right direction. Of course it wouldn't hurt to

see if it's working with the "administator" account just once or twice to

verify WMI is working correctly on your server.
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
QnA Zen Rank: White Belt
QnA Zen
15 posts since
Nov 17, 2013
2. Dec 27, 2013 1:14 AM (in response to hydruid)
Re: Error model device with community.wmi. plugin

Thank you for providing me the linkage

Not too much KB is about WMI on the page and not mention about the error I encountered. Any idea
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
3. Dec 27, 2013 9:05 AM (in response to QnA Zen)
Re: Error model device with community.wmi. plugin

I recommend that you do WMI testing from the zenoss server CLI to see if

you encounter the same issues/errors and then do some research on what it

could mean. Also I recommended that you try with the actual "administrator"

account.
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply



Subject: Question
Author: [Not Specified]
Posted: 2013-12-29 14:11

Have you tried to test from another windows server to see if you can connect via WMI with the "admin user" that you configured

Try using wmimgnt.msc with the "admin user" and if that doesn't work, try "administrator" to see if it does!

Hydruid



Subject: Hi Hydruid
Author: [Not Specified]
Posted: 2014-01-03 02:33

Hi Hydruid

Yes, I test to run wbemtest on my Windows PC, and connect to "\\TESTServer\root\cimv2", query "SELECT * FROM Win32_LogicalDisk", the partition IDs returned normally. but in Zenoss , still encounter below error. I can apply Zenoss.wmi.xxx plugin on this TESTServer, but failed to use community.wmi.xxxx plugin.

WARNING:zen.SQLClient:Error in community.wmi.FileSystemMap query "SELECT * FROM Win32_LogicalDisk": Retrieve result data. on 1xx.xxx.xxx.xxx (WERR_INVALID_PARAM)



< Previous
Unable to connect to performance metric data source
  Next
KeyError:'macAddresses'
>