<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk on Linux making WMI queries to Windows servers in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51291#M9836</link>
    <description>&lt;P&gt;One other option appears to be some code in ZenOSS.  The ZenOSS folks have apparently taken some samba code and put together a working WMI client for *nix that does not need a wmimapper.  You might have luck with that .. &lt;A href="http://dev.zenoss.com/trac/log/trunk/wmi/"&gt;http://dev.zenoss.com/trac/log/trunk/wmi/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Sep 2010 02:33:33 GMT</pubDate>
    <dc:creator>dwaddle</dc:creator>
    <dc:date>2010-09-16T02:33:33Z</dc:date>
    <item>
      <title>Splunk on Linux making WMI queries to Windows servers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51287#M9832</link>
      <description>&lt;P&gt;I have Splunk running on a Linux server and I need to index WMI-based events, like perfmon data, from my Windows servers, but I am not allowed to install Splunk as a Forwarder on my Windows boxes.&lt;/P&gt;

&lt;P&gt;Therefore, I was wondering if anyone has successfully used a WBEM type client on Linux to do this (i.e. similar to how Cacti does it, I think) or if anyone is aware of some other similar type workaround for Linux that would allow me to make the proper remote WMI calls to my Windows servers to get the perfmon info I need?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 23:50:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51287#M9832</guid>
      <dc:creator>maverick</dc:creator>
      <dc:date>2010-09-15T23:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on Linux making WMI queries to Windows servers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51288#M9833</link>
      <description>&lt;P&gt;Can you install just one Windows machine w/ a Splunk forwarder on it, and use it as a bridgehead to perform WMI queries against all of your other Windows machines?  It may be a lot less work than trying to build something using a generic WBEM client on Linux.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2010 00:09:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51288#M9833</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-09-16T00:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on Linux making WMI queries to Windows servers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51289#M9834</link>
      <description>&lt;P&gt;Yes and I've done that. However, in this specific use case, I am NOT allowed to install Splunk on Windows. Therefore, just curious about any workarounds, even if temporary.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2010 00:33:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51289#M9834</guid>
      <dc:creator>maverick</dc:creator>
      <dc:date>2010-09-16T00:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on Linux making WMI queries to Windows servers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51290#M9835</link>
      <description>&lt;P&gt;It looks like the cacti guys are depending on at least on Windows bridgehead node.  WMI is WBEM, but in normal microsoft fashion, it's also not.  The difference is the transport.  "Normal" WBEM uses a vanilla TCP port, while WMI uses DCOM.  It looks like there is a moderately popular WBEM/WMI proxy server called 'wmimapper' ( &lt;A href="http://tinyurl.com/34c4mwh"&gt;http://tinyurl.com/34c4mwh&lt;/A&gt; ) that bridges the TCP/DCOM gap for you.  This is what cacti and some of HP's system management software uses.  Of course, it needs to run on a Windows machine to be able to speak DCOM&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2010 02:25:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51290#M9835</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-09-16T02:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on Linux making WMI queries to Windows servers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51291#M9836</link>
      <description>&lt;P&gt;One other option appears to be some code in ZenOSS.  The ZenOSS folks have apparently taken some samba code and put together a working WMI client for *nix that does not need a wmimapper.  You might have luck with that .. &lt;A href="http://dev.zenoss.com/trac/log/trunk/wmi/"&gt;http://dev.zenoss.com/trac/log/trunk/wmi/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2010 02:33:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51291#M9836</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-09-16T02:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on Linux making WMI queries to Windows servers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51292#M9837</link>
      <description>&lt;P&gt;Overall, it's far, far more trouble than it's worth. As dwaddle points out, you need either a native WMI mapper, or a wbem client on the local windows box. (how that isn't as or more invasive than our or another agent is unclear). &lt;/P&gt;

&lt;P&gt;If for some reason you did go down the wbem mapper, there is also OpenPegasus. &lt;A href="http://www.openpegasus.org/" rel="nofollow"&gt;http://www.openpegasus.org/&lt;/A&gt; At least then you could write a scripted input from the command line use wbemmapper. &lt;/P&gt;

&lt;P&gt;Note that you still need a PAM or other form of cross-compatible authentication as well for your Linux box to communicate with the box. Note that later versions of Windows (2008, W7) will have to have their security severely degraded significantly. &lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2010 01:09:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51292#M9837</guid>
      <dc:creator>cervelli</dc:creator>
      <dc:date>2010-10-14T01:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on Linux making WMI queries to Windows servers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51293#M9838</link>
      <description>&lt;P&gt;I was able to compile the wmic source code from zenoss on my indexing server and I can pull WMI data using something like:&lt;/P&gt;

&lt;P&gt;wmic -U 'USER%PASS' //WINDOWS-SERVER "select * from win32_service"&lt;/P&gt;

&lt;P&gt;Running that script will pull down a number of lines such looking like:&lt;/P&gt;

&lt;P&gt;CLASS: Win32_Service
AcceptPause|AcceptStop|Caption|CheckPoint|CreationClassName|Description|DesktopInteract|DisplayName|ErrorControl|ExitCode|InstallDate|Name|PathName|ProcessId|ServiceSpecificExitCode|ServiceType|Started|StartMode|StartName|State|Status|SystemCreationClassName|SystemName|TagId|WaitHint
False|True|Operations Manager Audit Forwarding Service|0|Win32_Service|Sends events to a collector for storage in a SQL database.|False|Operations Manager Audit Forwarding Service|Normal|0|(null)|AdtAgent|C:\WINDOWS\system32\AdtAgent.exe|1304|0|Own Process|True|Auto|NT AUTHORITY\NetworkService|Running|OK|Win32_ComputerSystem|WINDOWS-SERVER|0|0&lt;/P&gt;

&lt;P&gt;The only issue I have at this point is finding a way to actually make this information useful inside splunk. Right now it's just the big jumble that you see above (with more lines of logging). I tried installing the Windows App , but that did not seem to do anything useful to the data.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2011 05:39:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-Linux-making-WMI-queries-to-Windows-servers/m-p/51293#M9838</guid>
      <dc:creator>jeffwarn</dc:creator>
      <dc:date>2011-03-10T05:39:44Z</dc:date>
    </item>
  </channel>
</rss>

