<?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: SNMPd crashes multiple times a day in Spark Firewall (SMB)</title>
    <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25600#M1081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.checkpoint.com/migrated-users/44190"&gt;Pedro Espindola&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when running&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;grep snmp /var/log/messages‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm also seeing many of these log entries reporting an error:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;2018 Jun&amp;nbsp; 7 20:29:34 Gateway-ID daemon.err snmpd[26564]: couldn't create socket‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Check Point support couldn't solve the issue yet, I've created a one-liner as workaround that helps until a working fix is developed. To use it, just put this line:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;while `sleep 60`; do grep snmp /var/log/messages | tail -n 1 | grep daemon.err; [ $? == 0 ] &amp;amp;&amp;amp; { clish -c 'set snmp agent "off" agent-version "v3-only" community "public"'; clish -c 'set snmp agent "on" agent-version "v3-only" community "public"'; } done‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;inside of&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/pfrm2.0/etc/userScript‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and reboot your 1400 appliance. You might need to adjust the snmp parameters to your specific snmp configuration. This workaround checks every 60 secs if the last snmp entry within /var/log/messages is &lt;EM&gt;daemon.err&lt;/EM&gt;. If that's the case the snmp agent gets restarted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2018 08:05:02 GMT</pubDate>
    <dc:creator>Danny</dc:creator>
    <dc:date>2018-06-08T08:05:02Z</dc:date>
    <item>
      <title>SNMPd crashes multiple times a day</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25596#M1077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm experiencing a serious SNMP issue on an 1400 appliance after enabling it for SNMPv3 checks on the latest firmware release (R77.20.75). After a couple of hours I need to disable and re-enable it via the 1400 Appliance's WebUI in order to have the monitoring to work again. Check Point Support couldn't fix it yet. Is anyone else experiencing the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 14:59:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25596#M1077</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2018-05-23T14:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: SNMPd crashes multiple times a day</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25597#M1078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Danny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not see these issues but, although I have it enabled and user defined, I do not have traps enabled or receivers defined, nor am I actively polling my device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;login as: randomadminname&lt;BR /&gt;Vladimir@192.168.7.1's password:&lt;BR /&gt;drawbridge&amp;gt; show software-version&lt;BR /&gt;This is Check Point's 1430 Appliance R77.20.75 - Build 239&lt;BR /&gt;drawbridge&amp;gt; expert&lt;BR /&gt;Enter expert password:&lt;/P&gt;&lt;P&gt;You are in expert mode now.&lt;/P&gt;&lt;P&gt;[Expert@drawbridge]# ps aux | grep snmp&lt;BR /&gt;root 3387 0.0 0.1 4336 1596 ? S &lt;STRONG&gt;Apr15 42:06&lt;/STRONG&gt; snmpd -Lsd -Lf /dev/null -I -smux -p /var/run/snmpd.pid -c /etc/snmpd.conf 0.0.0.0&lt;BR /&gt;root 9015 0.0 0.0 3724 1012 pts/0 S+ 16:53 0:00 grep snmp&lt;BR /&gt;[Expert@drawbridge]#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/65747_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 20:58:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25597#M1078</guid>
      <dc:creator>Vladimir</dc:creator>
      <dc:date>2018-05-23T20:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: SNMPd crashes multiple times a day</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25598#M1079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2x 1470 appliances with SNMP enabled and PRTG server that is constantly scanning them. No issues. And no traps enabled.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 03:18:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25598#M1079</guid>
      <dc:creator>HristoGrigorov</dc:creator>
      <dc:date>2018-05-24T03:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: SNMPd crashes multiple times a day</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25599#M1080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Danny, I had this issue sometime ago, but SNMP would stop responding about once a day and SNMP agent had to be restarted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would see this error in /var/log/messages:&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;2017 Aug 25 16:50:05 NGSX-FW daemon.err snmpd[20961]: could not create socket&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching the internet I saw a similar issue on many linux&amp;nbsp;distros related to an out-dated&amp;nbsp;NET-SNMP version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had an SR open for months and they sent me a modified snmpd binary, which reduced the crashes to only once a week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue&amp;nbsp;stopped around December 2017, I still don't know why it happened or stopped hapenning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see this error or other errors in /var/log/messages?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 17:07:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25599#M1080</guid>
      <dc:creator>Pedro_Espindola</dc:creator>
      <dc:date>2018-06-04T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: SNMPd crashes multiple times a day</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25600#M1081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.checkpoint.com/migrated-users/44190"&gt;Pedro Espindola&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when running&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;grep snmp /var/log/messages‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm also seeing many of these log entries reporting an error:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;2018 Jun&amp;nbsp; 7 20:29:34 Gateway-ID daemon.err snmpd[26564]: couldn't create socket‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Check Point support couldn't solve the issue yet, I've created a one-liner as workaround that helps until a working fix is developed. To use it, just put this line:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;while `sleep 60`; do grep snmp /var/log/messages | tail -n 1 | grep daemon.err; [ $? == 0 ] &amp;amp;&amp;amp; { clish -c 'set snmp agent "off" agent-version "v3-only" community "public"'; clish -c 'set snmp agent "on" agent-version "v3-only" community "public"'; } done‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;inside of&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/pfrm2.0/etc/userScript‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and reboot your 1400 appliance. You might need to adjust the snmp parameters to your specific snmp configuration. This workaround checks every 60 secs if the last snmp entry within /var/log/messages is &lt;EM&gt;daemon.err&lt;/EM&gt;. If that's the case the snmp agent gets restarted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 08:05:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25600#M1081</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2018-06-08T08:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: SNMPd crashes multiple times a day</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25601#M1082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Danny. That is very useful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't had this issue since December. I have gateways using builds 990172239 and&amp;nbsp;990172286.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which builds are you experiencing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 14:15:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SNMPd-crashes-multiple-times-a-day/m-p/25601#M1082</guid>
      <dc:creator>Pedro_Espindola</dc:creator>
      <dc:date>2018-06-08T14:15:18Z</dc:date>
    </item>
  </channel>
</rss>

