<?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: How to configure alert for identity collector in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25074#M22815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid I can't give you full script as it is fully integrated into our own in-house monitoring system so it wouldn't make much sense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but to give you an idea assuming you have multiple IDCs (else you can take away while loop)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;currTime=`date +%s`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;pdp conn idc |&amp;nbsp;grep ^[1-9] &amp;gt; idc.tmp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;while read line; do&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if [ `echo $line | grep -c "No events received in the last hour" ` -eq 0 ]; then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lastEvent=`echo $line | awk '{print $5" "$6}'`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lastEvent=`date --date="$lastEvent" +%s`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;let diff=$currTime-$lastEvent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if [ $diff -gt 120 ]; then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;do something here if no events seen in last 2 minutes&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;done &amp;lt; idc.tmp&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2019 05:57:21 GMT</pubDate>
    <dc:creator>Kaspars_Zibarts</dc:creator>
    <dc:date>2019-01-30T05:57:21Z</dc:date>
    <item>
      <title>How to configure alert for identity collector</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25070#M22811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;How to configure alert for identity collector for below condition&lt;/STRONG&gt;.&lt;/P&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;EM&gt;&amp;nbsp;If identity collector got disconnected.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&amp;nbsp;if gateway got disconnected .&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&amp;nbsp;If gateway didn't received last hour events.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;customer is having both R80.10 and R77.30 version gateway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 16:42:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25070#M22811</guid>
      <dc:creator>soni_kumari1</dc:creator>
      <dc:date>2019-01-17T16:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure alert for identity collector</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25071#M22812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could not imagine how to do that. But what i know is that Identity Collector is using the Windows Event Log API for fetching DC´s security logs. And if you know that these conditions show up in logs, you can use SmartEvent for alerting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2019 09:29:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25071#M22812</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2019-01-18T09:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure alert for identity collector</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25072#M22813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have scripted it and are checking update timestamp against current time. Then issue alert if nothing arrives in X minutes depending on the time of the day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="77091" class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/77091_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It really depends what sort of alert you want to generate. Custom SNMP traps are described here&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk121723" title="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk121723"&gt;SNMP Custom Traps for Monitoring Processes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2019 13:48:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25072#M22813</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2019-01-18T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure alert for identity collector</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25073#M22814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kasparas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would you be so kind and share scripts please?&lt;/P&gt;&lt;P&gt;or navigate us further where to focus please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 15:24:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25073#M22814</guid>
      <dc:creator>Juraj_Skalny</dc:creator>
      <dc:date>2019-01-25T15:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure alert for identity collector</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25074#M22815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid I can't give you full script as it is fully integrated into our own in-house monitoring system so it wouldn't make much sense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but to give you an idea assuming you have multiple IDCs (else you can take away while loop)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;currTime=`date +%s`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;pdp conn idc |&amp;nbsp;grep ^[1-9] &amp;gt; idc.tmp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;while read line; do&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if [ `echo $line | grep -c "No events received in the last hour" ` -eq 0 ]; then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lastEvent=`echo $line | awk '{print $5" "$6}'`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lastEvent=`date --date="$lastEvent" +%s`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;let diff=$currTime-$lastEvent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if [ $diff -gt 120 ]; then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;do something here if no events seen in last 2 minutes&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;done &amp;lt; idc.tmp&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 05:57:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25074#M22815</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2019-01-30T05:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure alert for identity collector</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25075#M22816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kasparas very much...really helpful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 12:57:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25075#M22816</guid>
      <dc:creator>Juraj_Skalny</dc:creator>
      <dc:date>2019-01-30T12:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure alert for identity collector</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25076#M22817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kasparas ,Its really helpful .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2019 14:29:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/25076#M22817</guid>
      <dc:creator>soni_kumari1</dc:creator>
      <dc:date>2019-02-02T14:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure alert for identity collector</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/65008#M22818</link>
      <description>&lt;P&gt;CP has released better monitoring capability for identity collector in R80.20.&amp;nbsp; If you look at &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk108235" target="_self"&gt;sk108235&amp;nbsp;&lt;/A&gt;at the 'Monitoring Capability' section, you can get more details.&lt;/P&gt;&lt;P&gt;Basically, you have to enable it on the identity collector server in the registry by adding a key called 'MonitoringEnabled'.&amp;nbsp; Once enabled, it will send stats from IDC to the attached gateways / PDPs.&amp;nbsp; You can view that info from the CLI using:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;cpstat identityServer -f idc (R80.20)&lt;/LI&gt;&lt;LI&gt;pdp idc status (R80.30)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can also monitor these items via SNMP on the gateway:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;The SNMP Object Identifiers (OIDs) that points to this information are found in $FWDIR/conf/identity_server.cps&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 14:05:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-configure-alert-for-identity-collector/m-p/65008#M22818</guid>
      <dc:creator>phlrnnr</dc:creator>
      <dc:date>2019-10-15T14:05:08Z</dc:date>
    </item>
  </channel>
</rss>

