Nov 26, 2009 4:42 AM
Zenpack : WMI MSSQL
-
Like (0)
Hi,
I just finished a new ZenPack :
This WMI-based ZenPacks provides a template for monitoring Microsoft SQL Server.
The new template is available on the /Devices/Server/Windows device class and provides graphs for many MSSQL counters :
- Disk IOPS
- SQL User connections
- Locks
- SQL Transactions
- FullTableScans
- Cache Hit
...
It works only for 1 MSSQL Instance per device (a zPropertie named ZSQLInstance is created during this Pack Installation)
It uses WMIDatasource from the WMI Data Source ZenPack.
If you could give me your feedback, question, and eventualy tell me how to submit this ZenPack to the community ZenPacks list.
Thanks !
Really nice!
I'll show it to our dba's at work..
--
Regards Falk
TheZenPack has been checked into http://zenpacks.zenoss.org/trac-zenpacks/browser/zenpacks/ZenPacks.community.WMIPerf_MSSQL and there is now a page for it: WMI MSSQL
Thanks Richard Esteve!
hi, i've to remove it because give me a lot of zenperwmi error
009-12-24 09:12:48,555 ERROR zen.zenperfwmi: list index out of range
Traceback (most recent call last):
File "/opt/zenoss/ZenPacks/ZenPacks.community.WMIDataSource-1.5-py2.4.egg/ZenPacks/community/WMIDataSource/zenperfwmi.py", line 93, in inner
if not hasattr(data[0], dp[0]): continue
IndexError: list index out of range
it happen asap i apply this template.
removing template i've no other issue in zenperfwmi log.
it's build with WMIDataSource1.5 or previous one?
Hello,
it uses WMI DataSource 1.5.
Try to run a wmiadap /f on the Windows server. The will initialize the WMI counters.
Also, check the Zproperties for the SQL Instance name.
Regards
I have installed the WMI MSSQL zenpack and when I model using the template I receive a zenperfwmi error that gives the message:
Could not read the WMI value (list index out of range). Check your username/password settings and verify network connectivity.
I have ran the wmiadap /f command and checked my SQLInstance name. Any suggestions?
I have a similar issue. I ran wmiadap /f and received the following error on the server.
WMI ADAP was unable to retrieve data from the PerfLib subkey: SYSTEM\\CurrentControlSet\\Services\\Autocat\\Performance\\Library, err
This looks like a problem with the Windows server.
I've tested the zenpack with Windows Server 2003 and MSSQL 2000/2005.
Couldn't (yet) test it with WindowsServer 2008 and MSSQL 2008.
Also, if you have not done it yet, launch the wmi setup from you MSSQL Install CD. For MSSQL 2000 it's located on x86\other\wmi (just launch the setup).
And finally, Check that the WMI options are installed.
Can you try to test the WMI request on your MSSQL Server?
To do that, on the server :
You should see a list of all Win32_PerfRawData WMI classes on the server.
Be sure that you see a bunch of "Win32_PerfRawData_MSSQL{Instance}_MSSQL{Instance}" lines. If you don't, you have a problem with the MSSQL Installation.
If you can see the performance counters, double check on Zenoss the MSSQL Instance, the zWinUser and zWinPassword (must be accounts with administrator rights).
Finally, after installind this Zenpack, you must restart Zenoss.
Hope it helps! If you have questions, I'll gladely try to answer them
Regards,
Richard
This is strange... what do you have when you test one of the counter in the template against one of your server in Zenoss ?
Disk IOP's Counter
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||