<?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 DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274159#M31930</link>
    <description>&lt;P&gt;Hi @johnpof&lt;/P&gt;

&lt;P&gt;There's a previous Answers post similar to this topic with an answer that suggests disabling the auto_disable setting in inputs.conf. That might solve your issue:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/438527/how-to-prevent-splunk-db-connect-2-from-disabling.html"&gt;https://answers.splunk.com/answers/438527/how-to-prevent-splunk-db-connect-2-from-disabling.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2016 21:06:12 GMT</pubDate>
    <dc:creator>ppablo</dc:creator>
    <dc:date>2016-10-26T21:06:12Z</dc:date>
    <item>
      <title>Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274158#M31929</link>
      <description>&lt;P&gt;I work in a dynamic environment and often servers will get restarted for various reasons, updates for example..&lt;/P&gt;

&lt;P&gt;Often I'll miss these events because I'm not on-call or nobody tells me. What happens is Splunk DB Connect disables all the inputs for that server and never tries to re-enable them.&lt;/P&gt;

&lt;P&gt;So that data stops flowing into Splunk until someone manually re-enables the inputs for the servers in question.&lt;/P&gt;

&lt;P&gt;My question is: Is there any way to have auto-retry logic? Or is there something I can use to monitor for inputs that get disabled? Right now I simply can't trust the data going into it because of this.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 20:49:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274158#M31929</guid>
      <dc:creator>johnpof</dc:creator>
      <dc:date>2016-10-26T20:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274159#M31930</link>
      <description>&lt;P&gt;Hi @johnpof&lt;/P&gt;

&lt;P&gt;There's a previous Answers post similar to this topic with an answer that suggests disabling the auto_disable setting in inputs.conf. That might solve your issue:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/438527/how-to-prevent-splunk-db-connect-2-from-disabling.html"&gt;https://answers.splunk.com/answers/438527/how-to-prevent-splunk-db-connect-2-from-disabling.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 21:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274159#M31930</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2016-10-26T21:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274160#M31931</link>
      <description>&lt;P&gt;Nice! that's perfect. Can I update inputs.conf live and will the changes immediately be reflected?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 23:58:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274160#M31931</guid>
      <dc:creator>johnpof</dc:creator>
      <dc:date>2016-10-26T23:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274161#M31932</link>
      <description>&lt;P&gt;Hm, I'm not positive about that actually. I just remembered coming by that previous question before and it came to mind when I saw yours.&lt;/P&gt;

&lt;P&gt;From looking at the inputs.conf spec for Splunk Enterprise docs, it says Splunk has to be restarted for config changes to take effect:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I don't see that specifically in the DB Connect inputs.conf docs, but I would assume that a restart is still required after any changes:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/DBX/2.3.0/DeployDBX/inputsspec"&gt;http://docs.splunk.com/Documentation/DBX/2.3.0/DeployDBX/inputsspec&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Sorry I don't have a definitive answer, but hopefully someone who does have experience with this can confirm.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 00:39:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274161#M31932</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2016-10-27T00:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274162#M31933</link>
      <description>&lt;P&gt;I'll probably restart it and see what happens&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 00:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274162#M31933</guid>
      <dc:creator>johnpof</dc:creator>
      <dc:date>2016-10-27T00:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274163#M31934</link>
      <description>&lt;P&gt;For future reference, I used this handy line to add auto_disable = False right after all occurrences of disabled = 0&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sed -i $'s/disabled = 0/disabled = 0\\\nauto_disable = False/g' inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Oct 2016 16:37:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274163#M31934</guid>
      <dc:creator>johnpof</dc:creator>
      <dc:date>2016-10-27T16:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274164#M31935</link>
      <description>&lt;P&gt;Thanks for sharing that @johnpof &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Cheers!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 17:26:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274164#M31935</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2016-10-27T17:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274165#M31936</link>
      <description>&lt;P&gt;So I came in this morning after a major maintenance, every single input was disabled. &lt;/P&gt;

&lt;P&gt;so unfortunately this isn't working &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; does it matter where you put the auto_disable = False?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 02:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274165#M31936</guid>
      <dc:creator>johnpof</dc:creator>
      <dc:date>2016-11-03T02:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274166#M31937</link>
      <description>&lt;P&gt;Hi @johnpof&lt;/P&gt;

&lt;P&gt;Sorry I just saw your follow up comment. Did you happen to figure it out? I noticed the value you used for auto_disable was "False", not "false" as shown in the documentation. I'm not sure if the value is case sensitive.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 18:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274166#M31937</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2016-11-16T18:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274167#M31938</link>
      <description>&lt;P&gt;I noticed that too actually just yesterday and replaced everything &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;I bet it'll be fine now, thanks for follow up.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 18:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274167#M31938</guid>
      <dc:creator>johnpof</dc:creator>
      <dc:date>2016-11-16T18:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274168#M31939</link>
      <description>&lt;P&gt;can u try updating the inputs.conf using REST API. if you can find it, then it doesn't require restart hopefully&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 23:01:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274168#M31939</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2016-12-09T23:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274169#M31940</link>
      <description>&lt;P&gt;We have SHC environment and even after setting auto_disable = false for input it is getting disabled whenever SHC gets restarted? How to prevent it from disabling then? Here is my configuration:&lt;/P&gt;

&lt;P&gt;[mi_input://Fusion_DG_Lag]&lt;BR /&gt;
connection = Fusion_Common_DB_PRD&lt;BR /&gt;
description = Lag between Primary and Standby DB&lt;BR /&gt;
enable_query_wrapping = 1&lt;BR /&gt;
index = index&lt;BR /&gt;
input_timestamp_column_fullname = (003) NULL.TIME_COMPUTED.VARCHAR2&lt;BR /&gt;
input_timestamp_column_name =&lt;BR /&gt;
interval = 120&lt;BR /&gt;
max_rows = 10000&lt;BR /&gt;
mode = batch&lt;BR /&gt;
output_timestamp_format = dd-MM-yyyy HH:mm:ss&lt;BR /&gt;
query = SELECT name,\&lt;BR /&gt;
  ((SUBSTR(value,2,2)*86400)+(SUBSTR(value,5,2)*3600)+(SUBSTR(value,8,2)*60)+(SUBSTR(value,11,2))) lag_time,\&lt;BR /&gt;
  time_computed\&lt;BR /&gt;
FROM V$DATAGUARD_STATS\&lt;BR /&gt;
WHERE name IN ('apply lag','transport lag')&lt;BR /&gt;
source = fusion_common_db_prd&lt;BR /&gt;
sourcetype = fusion_db&lt;BR /&gt;
tail_rising_column_fullname = (003) NULL.TIME_COMPUTED.VARCHAR2&lt;BR /&gt;
tail_rising_column_name = TIME_COMPUTED&lt;BR /&gt;
ui_query_catalog = NULL&lt;BR /&gt;
ui_query_mode = advanced&lt;BR /&gt;
auto_disable = false&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274169#M31940</guid>
      <dc:creator>hemendralodhi</dc:creator>
      <dc:date>2020-09-29T13:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274170#M31941</link>
      <description>&lt;P&gt;I'm pretty sure DBX 2.0 is not supported in an SHC environment, I had all sorts of problems with it and eventually moved it to a standalone search head by itself outside of my SHC.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 18:30:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274170#M31941</guid>
      <dc:creator>johnpof</dc:creator>
      <dc:date>2017-03-10T18:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Inputs get disabled after server restarts. Is there a way to automatically re-enable the inputs or another solution?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274171#M31942</link>
      <description>&lt;P&gt;I am running V 2.3.1 which support SHC but it is in documentation that running input/output is not recommended in SHC. I overlooked this and probably need to run it in standalone instance.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 00:17:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-Inputs-get-disabled-after-server-restarts-Is/m-p/274171#M31942</guid>
      <dc:creator>hemendralodhi</dc:creator>
      <dc:date>2017-03-13T00:17:02Z</dc:date>
    </item>
  </channel>
</rss>

