<?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: Monitor ARP table in VSX in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Monitor-ARP-table-in-VSX/m-p/48918#M9583</link>
    <description>You could potentially set that script up with SNMP so the results it provides can be retrieved via SNMP..&lt;BR /&gt;See: &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk90860" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk90860&lt;/A&gt;</description>
    <pubDate>Thu, 28 Mar 2019 00:52:44 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2019-03-28T00:52:44Z</dc:date>
    <item>
      <title>Monitor ARP table in VSX</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Monitor-ARP-table-in-VSX/m-p/48748#M9542</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Last week, one of our customers presented an overflow in his table mac "Neighbor table overflow".&lt;/P&gt;&lt;P&gt;Tue 22 12:06:10 2019 GW1 last message repeated 9 times&lt;BR /&gt;Mar 22 12:06:15 2019 GW1 kernel: printk: 36 messages suppressed.&lt;BR /&gt;Mar 22 12:06:15 2019 GW1 kernel: Neighbor table overflow.&lt;BR /&gt;Mar 22 12:06:20 2019 GW1 kernel: printk: 121 messages suppressed.&lt;BR /&gt;Mar 22 12:06:20 2019 GW1 kernel: Neighbor table overflow.&lt;BR /&gt;Mar 22 12:06:25 2019 GW1 kernel: printk: 109 messages suppressed.&lt;BR /&gt;Mar 22 12:06:25 2019 GW1 kernel: Neighbor table overflow.&lt;/P&gt;&lt;P&gt;I would like to know if someone has had the experience of monitoring this ARP table in VSX&amp;nbsp;with snmp.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other forums I found the following script:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#!/bin/bash&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;. /etc/profile.d/vsenv.sh&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vsenv 1 &amp;gt; /dev/null&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ARP1=`arp -n -a | wc -l`&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;vsenv 2 &amp;gt; /dev/null&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ARP2=`arp -n -a | wc -l`&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;vsenv 5 &amp;gt; /dev/null&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ARP3=`arp -n -a | wc -l`&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ARPTOTAL=`expr $ARP1 + $ARP2 + $ARP3`&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;echo "$ARP1"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;echo "$ARP2"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;echo "$ARP3"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;echo "$ARPTOTAL"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[Expert@vsx1:0]# /home/admin/SCRIPTS/arptable.sh&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;471&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;12&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;484&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Develop an script to be used as a Nagios plugin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HOST=$1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WARNING=$2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CRITICAL=$3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ping -c 1 $HOST &amp;amp;&amp;gt; /dev/null&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;if [ $? -ne 0 ]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;then&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;echo "UNKNOWN: No response from $HOST"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;exit 3&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fi&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RESULT=`ssh -l admin $HOST "/home/admin/SCRIPTS/arptable.sh" 2&amp;gt; /dev/null`&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ARP1=`echo $RESULT | cut -d" " -f1`&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ARP2=`echo $RESULT | cut -d" " -f2`&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ARP3=`echo $RESULT | cut -d" " -f3`&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ARPTOTAL=`echo $RESULT | cut -d" " -f4`&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if [ $ARPTOTAL -gt $CRITICAL ]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;then&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;echo "CRITICAL: $ARPTOTAL arp entries|total=$ARPTOTAL;ext=$ARP1;int=$ARP2;wifi=$ARP3;"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;exit 2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;elif [ $ARPTOTAL -gt $WARNING ]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;then&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;echo "WARNING: $ARPTOTAL arp entries|total=$ARPTOTAL;ext=$ARP1;int=$ARP2;wifi=$ARP3;"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;exit 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;else&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;echo "OK: $ARPTOTAL arp entries|total=$ARPTOTAL;ext=$ARP1;int=$ARP2;wifi=$ARP3;"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;exit 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fi&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, I would like to make a snmp query, which gives me the value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone has experience in this, I would greatly appreciate it if you shared it.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 19:43:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Monitor-ARP-table-in-VSX/m-p/48748#M9542</guid>
      <dc:creator>Simon_Garay</dc:creator>
      <dc:date>2019-03-26T19:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor ARP table in VSX</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Monitor-ARP-table-in-VSX/m-p/48918#M9583</link>
      <description>You could potentially set that script up with SNMP so the results it provides can be retrieved via SNMP..&lt;BR /&gt;See: &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk90860" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk90860&lt;/A&gt;</description>
      <pubDate>Thu, 28 Mar 2019 00:52:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Monitor-ARP-table-in-VSX/m-p/48918#M9583</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-03-28T00:52:44Z</dc:date>
    </item>
  </channel>
</rss>

