![]() |
![]() |
Subject: | Using the SQLDataSource Community ZenPack with non-numeric WMI values |
Author: | [Not Specified] |
Posted: | 2015-01-15 09:49 |
I've installed the community ZenPack for the SQLDataSource so that I can write custom WMI queries against Windows servers. We have a third-party WMI component that I am monitoring, and unfortunately one of the values is returned only as the strings True and False. There is not a numeric equivalent, and there is not a perfmon counter available that I can use instead of a WMI query.
According to the documentation at https://github.com/epuzanov/ZenPacks.community.SQLDataSource I should be able to create a dictionary so that I could do something along the lines of:
"True":100,"False":-1
But I have had no luck in getting Zenoss to recognize this. Does anyone detailed instructions on how to get this to work Each time I've tried to put this in the Formula field for an Alias, and then test, I get no data back.
In the short term I have written a small Command Data Source, but it would be really great if I could do this with the ZenPack. I am successfully getting that ZenPack to query numeric values and graph them.
< |
Previous Q: Monitoring Juniper 4200/3600 switches |
Next How can the logging on txwinrm be enabled? |
> |