<?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: monitoring console triggered alerts - missing forwarders - but they are not missing? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-console-triggered-alerts-missing-forwarders-but-they/m-p/458518#M79239</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;DMC Alert - Missing Forwarders fetch missing forwarders from &lt;CODE&gt;dmc_forwarder_assets&lt;/CODE&gt; lookup and that lookup file updates based on frequency you set in Monitoring Console -&amp;gt; Settings -&amp;gt; Forwarder Monitoring Setup -&amp;gt; Data Collection Interval and lookup file updates with below query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(fwdType=* group=tcpin_connections guid=* index=_internal sourcetype=splunkd (connectionType=cooked OR connectionType=cookedSSL)) 
| stats values(fwdType) as forwarder_type, latest(version) as version, values(arch) as arch, values(os) as os, max(_time) as last_connected, sum(kb) as new_sum_kb, sparkline(avg(tcp_KBps), 1m) as new_avg_tcp_kbps_sparkline, avg(tcp_KBps) as new_avg_tcp_kbps, avg(tcp_eps) as new_avg_tcp_eps by guid, hostname 
| inputlookup dmc_forwarder_assets append=1 
| stats values(forwarder_type) as forwarder_type, max(version) as version, values(arch) as arch, values(os) as os, max(last_connected) as last_connected, values(new_sum_kb) as sum_kb, values(new_avg_tcp_kbps_sparkline) as avg_tcp_kbps_sparkline, values(new_avg_tcp_kbps) as avg_tcp_kbps, values(new_avg_tcp_eps) as avg_tcp_eps by guid, hostname 
| addinfo 
| eval status=if(((isnull(sum_kb) OR (sum_kb &amp;lt;= 0)) OR (last_connected &amp;lt; (info_max_time - 900))),"missing","active"), sum_kb=round(sum_kb,2), avg_tcp_kbps=round(avg_tcp_kbps,2), avg_tcp_eps=round(avg_tcp_eps,2) 
| fields guid, hostname, forwarder_type, version, arch, os, status, last_connected, sum_kb, avg_tcp_kbps_sparkline, avg_tcp_kbps, avg_tcp_eps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So here you need to look at &lt;CODE&gt;| stats ....&lt;/CODE&gt; which is doing statistics on &lt;CODE&gt;forwarder_type, version, os, arch, last_connected, ..... guid, hostname&lt;/CODE&gt; , if guid changed for UF then this query treats that UF as new Universal Forwarder and it keep throwing alert for same UF with old guid as missing forwarder.&lt;/P&gt;

&lt;P&gt;If you are sure that those 43 forwarders are sending data to Indexers in that case you can rebuild Forwarder asset lookup table, go to Monitoring Console -&amp;gt; Settings -&amp;gt; Forwarder Monitoring Setup -&amp;gt; Click on Rebuild forwarder assets.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Mar 2019 09:36:16 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2019-03-29T09:36:16Z</dc:date>
    <item>
      <title>monitoring console triggered alerts - missing forwarders - but they are not missing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-console-triggered-alerts-missing-forwarders-but-they/m-p/458517#M79238</link>
      <description>&lt;P&gt;splunk monitoring console is currently reporting DMC Alert - missing forwarders - 43 Forwarders as missing, when I can clearly see that we are receiving events from them&lt;BR /&gt;
any ideas as to why this might be please?&lt;/P&gt;

&lt;P&gt;we recently changed the listening port to SSL which did stop the forwarders sending for a couple of days, and started the triggering of this alert, however this was rectified more than a week ago, and events have been coming in fine for more than a week, butr the alerts persist&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 07:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-console-triggered-alerts-missing-forwarders-but-they/m-p/458517#M79238</guid>
      <dc:creator>vincenp2</dc:creator>
      <dc:date>2019-03-29T07:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring console triggered alerts - missing forwarders - but they are not missing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-console-triggered-alerts-missing-forwarders-but-they/m-p/458518#M79239</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;DMC Alert - Missing Forwarders fetch missing forwarders from &lt;CODE&gt;dmc_forwarder_assets&lt;/CODE&gt; lookup and that lookup file updates based on frequency you set in Monitoring Console -&amp;gt; Settings -&amp;gt; Forwarder Monitoring Setup -&amp;gt; Data Collection Interval and lookup file updates with below query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(fwdType=* group=tcpin_connections guid=* index=_internal sourcetype=splunkd (connectionType=cooked OR connectionType=cookedSSL)) 
| stats values(fwdType) as forwarder_type, latest(version) as version, values(arch) as arch, values(os) as os, max(_time) as last_connected, sum(kb) as new_sum_kb, sparkline(avg(tcp_KBps), 1m) as new_avg_tcp_kbps_sparkline, avg(tcp_KBps) as new_avg_tcp_kbps, avg(tcp_eps) as new_avg_tcp_eps by guid, hostname 
| inputlookup dmc_forwarder_assets append=1 
| stats values(forwarder_type) as forwarder_type, max(version) as version, values(arch) as arch, values(os) as os, max(last_connected) as last_connected, values(new_sum_kb) as sum_kb, values(new_avg_tcp_kbps_sparkline) as avg_tcp_kbps_sparkline, values(new_avg_tcp_kbps) as avg_tcp_kbps, values(new_avg_tcp_eps) as avg_tcp_eps by guid, hostname 
| addinfo 
| eval status=if(((isnull(sum_kb) OR (sum_kb &amp;lt;= 0)) OR (last_connected &amp;lt; (info_max_time - 900))),"missing","active"), sum_kb=round(sum_kb,2), avg_tcp_kbps=round(avg_tcp_kbps,2), avg_tcp_eps=round(avg_tcp_eps,2) 
| fields guid, hostname, forwarder_type, version, arch, os, status, last_connected, sum_kb, avg_tcp_kbps_sparkline, avg_tcp_kbps, avg_tcp_eps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So here you need to look at &lt;CODE&gt;| stats ....&lt;/CODE&gt; which is doing statistics on &lt;CODE&gt;forwarder_type, version, os, arch, last_connected, ..... guid, hostname&lt;/CODE&gt; , if guid changed for UF then this query treats that UF as new Universal Forwarder and it keep throwing alert for same UF with old guid as missing forwarder.&lt;/P&gt;

&lt;P&gt;If you are sure that those 43 forwarders are sending data to Indexers in that case you can rebuild Forwarder asset lookup table, go to Monitoring Console -&amp;gt; Settings -&amp;gt; Forwarder Monitoring Setup -&amp;gt; Click on Rebuild forwarder assets.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 09:36:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-console-triggered-alerts-missing-forwarders-but-they/m-p/458518#M79239</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-03-29T09:36:16Z</dc:date>
    </item>
  </channel>
</rss>

