<?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: Powershell Scripts for Splunk for Cisco UCS not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82315#M17030</link>
    <description>&lt;P&gt;This looks like a config-related issue. If you want to post a (redacted) version of your .conf files and put them in your question, we could troubleshoot it.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2013 16:52:17 GMT</pubDate>
    <dc:creator>halr9000</dc:creator>
    <dc:date>2013-04-02T16:52:17Z</dc:date>
    <item>
      <title>Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82313#M17028</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;
   I'm currently testing out the Splunk App for Cisco UCS on Splunkbase (&lt;A href="http://splunk-base.splunk.com/apps/54084/splunk-app-for-cisco-ucs"&gt;http://splunk-base.splunk.com/apps/54084/splunk-app-for-cisco-ucs&lt;/A&gt;). I set up the scripts for Powershell collection on one of our Heavy Forwarders (v4.3.3), and pointed it at a UCS blade for data collection. I'm getting the following error messages in splunkd.log (all are from the ExecProcessor):&lt;/P&gt;

&lt;P&gt;04-02-2013 10:43:47.281 -0500 ERROR ExecProcessor - message from "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command " &amp;amp;'C:\Program Files\Splunk\etc\apps\TA-CiscoUcsPs\bin\powershell\GetInventory.ps1'" -index cisco_ucs" Disconnect-Ucs : Cannot bind parameter 'Ucs'. Cannot convert the "Cisco.Ucs.Cmdlets.PowerToolConfiguration" value of type "Cisco.Ucs.Cmdlets.PowerToolConfiguration" to type "Cisco.Ucs.UcsHandle".&lt;/P&gt;

&lt;P&gt;04-02-2013 10:43:47.281 -0500 ERROR ExecProcessor - message from "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command " &amp;amp;'C:\Program Files\Splunk\etc\apps\TA-CiscoUcsPs\bin\powershell\GetInventory.ps1'" -index cisco_ucs" At s1:80 char:24 +     Disconnect-Ucs -Ucs &amp;lt;&amp;lt;&amp;lt;&amp;lt;  $UcsmSession + CategoryInfo : InvalidArgument: (:) [Disconnect-Ucs], Parameter BindingException &lt;/P&gt;

&lt;P&gt;04-02-2013 10:43:47.281 -0500 ERROR ExecProcessor - message from "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command " &amp;amp;'C:\Program Files\Splunk\etc\apps\TA-CiscoUcsPs\bin\powershell\GetInventory.ps1'" -index cisco_ucs"     + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Cisco.Ucs.Cmdlets.DisconnectUcs&lt;/P&gt;

&lt;P&gt;04-02-2013 10:43:47.281 -0500 ERROR ExecProcessor - message from "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command " &amp;amp;'C:\Program Files\Splunk\etc\apps\TA-CiscoUcsPs\bin\powershell\GetInventory.ps1'" -index cisco_ucs"&lt;BR /&gt;&lt;BR /&gt;
04-02-2013 10:43:47.281 -0500 ERROR ExecProcessor - message from "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command " &amp;amp;'C:\Program Files\Splunk\etc\apps\TA-CiscoUcsPs\bin\powershell\GetInventory.ps1'" -index cisco_ucs" Get-UcsFex : Cannot bind parameter 'Ucs'. Cannot convert the "Cisco.Ucs.Cmdlets.PowerToolConfiguration" value of type "Cisco.Ucs.Cmdlets.PowerToolConfiguration" to type "Cisco.Ucs.UcsHandle".&lt;/P&gt;

&lt;P&gt;04-02-2013 10:43:47.281 -0500 ERROR ExecProcessor - message from "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command " &amp;amp;'C:\Program Files\Splunk\etc\apps\TA-CiscoUcsPs\bin\powershell\GetInventory.ps1'" -index cisco_ucs" At C:\Program Files\Splunk\etc\apps\TA-CiscoUcsPs\bin\powershell\GetInventory.p&lt;BR /&gt;
04-02-2013 10:43:47.281 -0500 ERROR ExecProcessor - message from "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command " &amp;amp;'C:\Program Files\Splunk\etc\apps\TA-CiscoUcsPs\bin\powershell\GetInventory.ps1'" -index cisco_ucs" s1:29 char:31 + $UcsObj += Get-UcsFex -Ucs &amp;lt;&amp;lt;&amp;lt;&amp;lt;  $UcsmSessionCategoryInfo : InvalidArgument: (:) [Get-UcsFex], ParentContainsErrorRecordException + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Cisco.Ucs.Cmdlets.GetUcsFex&lt;/P&gt;

&lt;P&gt;Can someone help me try to figure out what is going on here? I'm no powershell expert, so unfortunately I'm having a hard time interpreting these logs.&lt;/P&gt;

&lt;P&gt;Configuration files (inputs.conf, ciscoucs.conf) are available at: &lt;A href="http://pastebin.com/7SYwd4vJ"&gt;http://pastebin.com/7SYwd4vJ&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 16:46:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82313#M17028</guid>
      <dc:creator>BenjaminWyatt</dc:creator>
      <dc:date>2013-04-02T16:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82314#M17029</link>
      <description>&lt;P&gt;I'm actually deprecating the PowerShell-based collector scripts for this app and have moved to using Python so as to be more flexible for our cross-platform customers. Contact me by email and I can get you the latest bits which have not yet been released.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 16:50:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82314#M17029</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2013-04-02T16:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82315#M17030</link>
      <description>&lt;P&gt;This looks like a config-related issue. If you want to post a (redacted) version of your .conf files and put them in your question, we could troubleshoot it.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 16:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82315#M17030</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2013-04-02T16:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82316#M17031</link>
      <description>&lt;P&gt;Thanks. I will reach out to you by email. I will post the configs separately due to comment restrictions.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 17:08:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82316#M17031</guid>
      <dc:creator>BenjaminWyatt</dc:creator>
      <dc:date>2013-04-02T17:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82317#M17032</link>
      <description>&lt;P&gt;I have posted ciscoucs.conf and inputs.conf. They are available at:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://pastebin.com/7SYwd4vJ"&gt;http://pastebin.com/7SYwd4vJ&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 17:09:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82317#M17032</guid>
      <dc:creator>BenjaminWyatt</dc:creator>
      <dc:date>2013-04-02T17:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82318#M17033</link>
      <description>&lt;P&gt;I'd suggest just clicking the edit button above and put the conf in your original post.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 17:10:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82318#M17033</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2013-04-02T17:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82319#M17034</link>
      <description>&lt;P&gt;I have posted the link to the .conf files. Please let me know if you need more information.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 17:24:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82319#M17034</guid>
      <dc:creator>BenjaminWyatt</dc:creator>
      <dc:date>2013-04-02T17:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82320#M17035</link>
      <description>&lt;P&gt;We are soon to be obsoleting the PowerShell-based version of this app. The cross-platform (using Python) collector will be published "well before Cisco Live". In the meantime, anyone who asks me directly may have access to the current development version.,&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 18:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82320#M17035</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2013-04-09T18:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82321#M17036</link>
      <description>&lt;P&gt;Thanks hal. I will reach out to you for the Python collector.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 19:12:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82321#M17036</guid>
      <dc:creator>BenjaminWyatt</dc:creator>
      <dc:date>2013-04-09T19:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Scripts for Splunk for Cisco UCS not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82322#M17037</link>
      <description>&lt;P&gt;The new app based on Python has now been &lt;A href="http://splunk-base.splunk.com/apps/Splunk+App+for+Cisco+UCS"&gt;published to Splunkbase&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 18:46:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Scripts-for-Splunk-for-Cisco-UCS-not-working/m-p/82322#M17037</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2013-07-09T18:46:14Z</dc:date>
    </item>
  </channel>
</rss>

