Hi Pedro Espindola,
when running
grep snmp /var/log/messages
I'm also seeing many of these log entries reporting an error:
2018 Jun 7 20:29:34 Gateway-ID daemon.err snmpd[26564]: couldn't create socket
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:
while `sleep 60`; do grep snmp /var/log/messages | tail -n 1 | grep daemon.err; [ $? == 0 ] && { 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
inside of
/pfrm2.0/etc/userScript
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 daemon.err. If that's the case the snmp agent gets restarted.