Archived community.zenoss.org | full text search
Skip navigation
1 2 Previous Next 164433 Views 20 Replies Latest reply: Jan 21, 2010 6:53 AM by Snake-BIS RSS
Snake-BIS Rank: Green Belt 97 posts since
Nov 26, 2009
Currently Being Moderated

Nov 26, 2009 4:42 AM

Zenpack : WMI MSSQL

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 !

  • Falk Rank: White Belt 89 posts since
    Jul 27, 2007
    Currently Being Moderated
    1. Nov 26, 2009 1:37 PM (in response to Snake-BIS)
    Re: Zenpack : WMI MSSQL

    Really nice!

     

    I'll show it to our dba's at work..

     

    --

    Regards Falk

  • Matt Ray Rank: Zen Master 2,484 posts since
    Apr 5, 2008
    Currently Being Moderated
    2. Nov 26, 2009 5:14 PM (in response to Snake-BIS)
    Re: Zenpack : WMI MSSQL

    Email me and I'll help you get it posted.

     

    Thanks,

    Matt Ray

    Zenoss Community Manager

    mray@zenoss.com

  • Matt Ray Rank: Zen Master 2,484 posts since
    Apr 5, 2008
    Currently Being Moderated
    3. Dec 23, 2009 11:14 AM (in response to Matt Ray)
    Re: Zenpack : WMI MSSQL

    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!

  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    4. Dec 24, 2009 3:22 AM (in response to Matt Ray)
    Re: Zenpack : WMI MSSQL

    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?

  • Chris Caton Newbie 5 posts since
    Aug 12, 2009
    Currently Being Moderated
    6. Dec 30, 2009 4:35 PM (in response to Snake-BIS)
    Re: Zenpack : WMI MSSQL

    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?

  • jenkinskj Rank: Green Belt 330 posts since
    Jul 30, 2009
    Currently Being Moderated
    7. Dec 30, 2009 6:34 PM (in response to Snake-BIS)
    Re: Zenpack : WMI MSSQL

    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

  • schurpakovich Newbie 1 posts since
    Dec 30, 2009
    Currently Being Moderated
    9. Jan 4, 2010 2:41 PM (in response to Snake-BIS)
    Re: Zenpack : WMI MSSQL
    Everytime I apply this template to a device all WMI graphing stops.  Any ideas why this would be happening?
  • Chris Caton Newbie 5 posts since
    Aug 12, 2009
    Currently Being Moderated
    10. Jan 4, 2010 5:20 PM (in response to Snake-BIS)
    Re: Zenpack : WMI MSSQL
    In MSSQL 2005 I donot see a WMI install option on the CD
  • Chris Caton Newbie 5 posts since
    Aug 12, 2009
    Currently Being Moderated
    12. Jan 5, 2010 9:52 AM (in response to Snake-BIS)
    Re: Zenpack : WMI MSSQL
    Thanks for the help! I ran the commands suggested and found everything checked out fine. I restarted Zenoss and verified instance name and Zwin user and Zpassword were correct. I am still getting zenperfwmi and snmptrap authentication errors.
  • Chris Caton Newbie 5 posts since
    Aug 12, 2009
    Currently Being Moderated
    14. Jan 5, 2010 2:29 PM (in response to Snake-BIS)
    Re: Zenpack : WMI MSSQL

    Disk IOP's Counter

     

    Executing command wmic -U xxxxxx\xxxxxxxx'%'*****' //xxx.xxx.xxx.xxx--namespace='root\cimv2' "SELECT DiskReadsPerSec,DiskWritesPerSec FROM Win32_PerfRawData_PerfDisk_PhysicalDisk WHERE Name='_Total'" against SQLserver.xxxxxxxxxx.com CLASS: Win32_PerfRawData_PerfDisk_PhysicalDisk DiskReadsPersec|DiskWritesPersec|Name 30579719|22366942|_Total DONE in 0 seconds

1 2 Previous Next

More Like This

  • Retrieving data ...