Monitor FAST Search Server 2010 for SharePoint using WMI

 

Applies to: FAST Search Server 2010

WMI data can be accessed from System Center Operations Manager (SCOM) 2007, COM, Windows Scripting Host, Windows PowerShell, .NET, Win32 APIs and third party utilities and monitoring suites. Various GUI tools are available to access WMI, you can download, for example, WMI Administrative Tools from the Microsoft Download Center.

Refer to the topic WMI Overview for an extensive overview of the Windows Management Instrumentation (WMI) technology.

Reference information about the FAST Search WMI values

The FAST Search Server 2010 for SharePoint WMI classes are available in the ROOT\Microsoft\FASTSearch namespace.

For an overview of all the FAST Search Server 2010 for SharePoint WMI classes, refer to WMI classes (FAST Search Server 2010 for SharePoint).

Examples of how to retrieve WMI information

The following two examples show how you can monitor FAST Search Server 2010 for SharePoint using WMI.

Visual Basic script to retrieve process status

Dim oWMIService
Set oWMIService = GetObject("winmgmts:\\.\ROOT\Microsoft\FASTSearch")

Dim oResult
Set oResult = oWMIService.ExecQuery("SELECT * FROM NodeConfProcess")

For Each oWmiEntry In oResult
    WScript.Echo "Name: " & oWmiEntry.Id & ", State: " & oWmiEntry.Status
Next

Windows built-in tool WMIC.EXE command line to retrieve process status

C:\>wmic /NAMESPACE:\\ROOT\Microsoft\FASTSearch Path NodeConfProcess