<?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 SplunkForwarder RPM Installer - Hostname determination in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SplunkForwarder-RPM-Installer-Hostname-determination/m-p/56926#M11098</link>
    <description>&lt;P&gt;We added SplunkForwarder RPM with a script to install the agent on all our Redhat kickstarts. The problem is that the hostname is set during kickstart but when the Splunk script runs the way it obtains the server hostname is labeling it the default "localhost". If I run the script manually after the kickstart, it installs fine with the properly registered hostname. &lt;/P&gt;

&lt;P&gt;How does the RPM determine the hostname at installation?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2013 16:24:54 GMT</pubDate>
    <dc:creator>BP9906</dc:creator>
    <dc:date>2013-09-06T16:24:54Z</dc:date>
    <item>
      <title>SplunkForwarder RPM Installer - Hostname determination</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SplunkForwarder-RPM-Installer-Hostname-determination/m-p/56926#M11098</link>
      <description>&lt;P&gt;We added SplunkForwarder RPM with a script to install the agent on all our Redhat kickstarts. The problem is that the hostname is set during kickstart but when the Splunk script runs the way it obtains the server hostname is labeling it the default "localhost". If I run the script manually after the kickstart, it installs fine with the properly registered hostname. &lt;/P&gt;

&lt;P&gt;How does the RPM determine the hostname at installation?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2013 16:24:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SplunkForwarder-RPM-Installer-Hostname-determination/m-p/56926#M11098</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2013-09-06T16:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkForwarder RPM Installer - Hostname determination</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SplunkForwarder-RPM-Installer-Hostname-determination/m-p/56927#M11099</link>
      <description>&lt;P&gt;rpm -scripts -qp ./splunkforwarder-6.2.2-255606-linux-2.6-x86_64.rpm | more&lt;/P&gt;

&lt;P&gt;shows the scripts in the rpm.&lt;/P&gt;

&lt;P&gt;It gets the host name with this line :&lt;/P&gt;

&lt;P&gt;HOSTNAME='hostname'&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 15:57:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SplunkForwarder-RPM-Installer-Hostname-determination/m-p/56927#M11099</guid>
      <dc:creator>jmantor</dc:creator>
      <dc:date>2015-09-30T15:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkForwarder RPM Installer - Hostname determination</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SplunkForwarder-RPM-Installer-Hostname-determination/m-p/56928#M11100</link>
      <description>&lt;P&gt;thanks. Our kickstart file for redhat confirms it, thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 22:51:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SplunkForwarder-RPM-Installer-Hostname-determination/m-p/56928#M11100</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2015-09-30T22:51:44Z</dc:date>
    </item>
  </channel>
</rss>

