<?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 count objects of a group in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21564#M92932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is also option to create script which will search all network groups on management and count objects in every of them. Maybe also list of these objects inside group &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Aug 2018 07:31:30 GMT</pubDate>
    <dc:creator>JozkoMrkvicka</dc:creator>
    <dc:date>2018-08-24T07:31:30Z</dc:date>
    <item>
      <title>How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21558#M92926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is threr a way to simply count the number of objects in a group?&lt;/P&gt;&lt;P&gt;(R77.30 and R80.x)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 17:44:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21558#M92926</guid>
      <dc:creator>peter_schumache</dc:creator>
      <dc:date>2018-08-23T17:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21559#M92927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Old school method:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69738_giphy.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that this method is very time consuming !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 18:39:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21559#M92927</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-08-23T18:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21560#M92928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, for R80 you could use the management API and count the objects in the "members" column of the result of "show groups". Or you can use the script that I have written and linked &lt;A _jive_internal="true" href="https://community.checkpoint.com/thread/8560-listing-the-members-of-a-network-group"&gt;here&lt;/A&gt;. After you have received the csv output just filter for a specific group name in the A column (when opening the csv in Excel) and you can count the hosts in column B. Tough this script does not work for Ipv6 objects - did not have the time and need to update it yet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More solid solution that also works for IPv6 objects:&lt;/P&gt;&lt;P&gt;=&amp;gt; run "show groups details-level full --format json" via the management api&lt;/P&gt;&lt;P&gt;=&amp;gt; copy the output to your clipboard&lt;/P&gt;&lt;P&gt;=&amp;gt; paste it &lt;A href="http://jsonviewer.stack.hu/"&gt;here&lt;/A&gt; or into an offline json viewer regarding any security concerns (I used test data and a cloud test instance for this example)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" height="599" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69740_jsonviewer.JPG" width="625" /&gt;&lt;/P&gt;&lt;P&gt;So for each group you will see the numbers after the "objects" section ~ marked green in the example&lt;/P&gt;&lt;P&gt;For each member of the group you will see numbers in the "members" section of the related group ~ marked red in this example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind that there are default output limits of the management api that can be set via the "offset" and "limit" parameter, e.g. the first 50 groups (starting from 0) can be seen via:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class=""&gt;mgmt_cli show groups limit 50 offset 0 details-level "full" --format json&lt;/PRE&gt;&lt;P&gt;The default value here is 50, so if you have more than 50 groups this needs to be changed (or you pull the data interval vise by changing the offset to +50 each time). If you just want the number of hosts for one specific group you can run:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class=""&gt;mgmt_cli show group name "HERE_COME_THE_NAME" limit 50 offset 0 details-level "full" --format json&lt;/PRE&gt;&lt;P&gt;And then you follow the same procedure as above + check the numbers in the members section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have any clue for R77.30 as I never worked with pre R80 managament, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 19:31:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21560#M92928</guid>
      <dc:creator>Maik</dc:creator>
      <dc:date>2018-08-23T19:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21561#M92929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/migrated-users/6703"&gt;Tomer Sole&lt;/A&gt;‌ This is actually quite funny in a not funny sort of way:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you bump it to R&amp;amp;D to include the number in the Group Object's properties and, perhaps for mouse-over?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69743_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 20:29:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21561#M92929</guid>
      <dc:creator>Vladimir</dc:creator>
      <dc:date>2018-08-23T20:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21562#M92930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;echo &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;e &lt;SPAN class="string token"&gt;"print network_objects &amp;lt;NAME_OF_GROUP&amp;gt;\n-q\n"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; dbedit &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;local &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; grep &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;roh &lt;SPAN class="string token"&gt;"Table:"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; wc &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;l&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;Just replace &amp;lt;NAME_OF_GROUP&amp;gt; with desired group and run this command from Management station (or from CMA itself).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tested on R77.30 and R80.10.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 21:12:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21562#M92930</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-08-23T21:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21563#M92931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jozko!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen your post above and have copied the string in my toolbox already:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That being said, it really is the issue of having same capability in UI.&lt;/P&gt;&lt;P&gt;Reasons being that not all admins may have access to cli, but they may need to see and compare the number of objects in a group, for instance to see if something was added or removed without actually looking up individual objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 22:44:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21563#M92931</guid>
      <dc:creator>Vladimir</dc:creator>
      <dc:date>2018-08-23T22:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21564#M92932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is also option to create script which will search all network groups on management and count objects in every of them. Maybe also list of these objects inside group &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 07:31:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21564#M92932</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-08-24T07:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21565#M92933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the feedback.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some workarounds:&lt;/P&gt;&lt;P&gt;For R80.10, in case that group is in a rule, you can click the rule and expand the members at the bottom "Details" tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you are interested with not just member count but actual IP&amp;nbsp;ranges and non-IP objects including all nested members, we are bringing this with the API for the upcoming R80.20. You can already try it with the latest published Public EA for R80.20.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 13:25:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21565#M92933</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-08-24T13:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21566#M92934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jozko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you've already done some scripting along these lines, would you look into possibility of modifying a script to create tags consisting of a group name and the object count and attaching them to the group objects?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Aug 2018 14:12:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21566#M92934</guid>
      <dc:creator>Vladimir</dc:creator>
      <dc:date>2018-08-25T14:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21567#M92935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vladimir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if I got your request correctly, so could you please give me example what is exactly needed ? &lt;IMG src="https://community.checkpoint.com/legacyfs/online/checkpoint/emoticons/silly.png" /&gt;&amp;nbsp;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Aug 2018 22:08:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21567#M92935</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-08-25T22:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21568#M92936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enumerate the groups and the count of objects in those and pipe it into "add tag" or "set tag" so it'll tag the count to the group object. I.e.:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="324" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69794_pastedImage_2.png" width="387" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Aug 2018 23:13:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21568#M92936</guid>
      <dc:creator>Vladimir</dc:creator>
      <dc:date>2018-08-25T23:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21569#M92937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you like to have tag only with digits (1), or including timestamp ?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="69793" class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69793_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because in case you will run script more times, you will have&amp;nbsp;multiple tags with no meaning when it was checked.&lt;/P&gt;&lt;P&gt;Or some naming convention, like " &amp;lt;COUNT_OF_MEMBERS&amp;gt; - &amp;lt;DATE&amp;gt;".&lt;/P&gt;&lt;P&gt;Or delete all tags before checking and you will have only 1 tag with current count of all members of any group...&lt;/P&gt;&lt;P&gt;Long tag name shouldnt be used, as the purpose is to have simple word there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know your preffered way &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt; Nice finding - in case exactly the same tag is already in place for the group, it will NOT be added second time. It is valid only in case just digits should be added. For example during first run I had no tags, after script run I see there is new tag with the count of members in total (1 for example). In case I run the script second time, the tag will be not added (means objects is not modified), because the same tag is already there. On the other hand, it doesnt mean that 1 object wasnt added and 1 object wasnt removed from this group ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Aug 2018 11:46:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21569#M92937</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-08-26T11:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21570#M92938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both approaches have their merits and shortcomings.&lt;/P&gt;&lt;P&gt;I.e. the verbose tag leaves less chances of being misinterpreted, but will not be able to show the number in the displayed portion of the tag, only in fully expanded or moused-over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The short, numbers only tag, will be visible right away, but one cannot be sure how current the data in it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be better to have a # appended by the query time in the body of the tag, so that the number will be visible right away and by mousing over, we can see when it was discovered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, and I am not sure if this is material, will the tag show the number of objects in published policies or installed? Also, we have to make sure that the older tags will get removed, otherwise we'll keep growing their number in perpetuity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for running with this idea!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Aug 2018 14:04:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21570#M92938</guid>
      <dc:creator>Vladimir</dc:creator>
      <dc:date>2018-08-26T14:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21571#M92939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I will try to do it this way:&lt;/P&gt;&lt;P&gt;If group contains any tag with ONLY numbers, it will be removed. If there is no more tag with numbers, it will add new one tag with actual number of members in that group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 06:13:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21571#M92939</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-08-27T06:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21572#M92940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created script which will count members of every single network group and add this number as new tag of relevant network group.&lt;/P&gt;&lt;P&gt;Big thanks goes to &lt;A href="https://community.checkpoint.com/migrated-users/48025"&gt;Vladimir Yakovlev&lt;/A&gt;‌ for his&amp;nbsp;idea &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested my script in many cases and it works well. As I was doing it in my LAB where I have only 5 network groups, it would be great if someone can test it before I will post it into Developers section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for every feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;New version of script available to be compatible with new kernel on R80.20 (issue with "grep" command).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 11:55:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21572#M92940</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-08-29T11:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21573#M92941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll give it a shot as soon as I rebuild my lab environment: just had to donate my servers to the client who borked the firmware upgrade on their IBMs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 17:37:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21573#M92941</guid>
      <dc:creator>Vladimir</dc:creator>
      <dc:date>2018-08-29T17:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21574#M92942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;UPDATE:&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;New version of script available to be compatible with new kernel on R80.20 (issue with "grep" command).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 13:48:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/21574#M92942</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-09-27T13:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/157242#M92943</link>
      <description>&lt;P&gt;I am looking for number of members in A specific group.&amp;nbsp; the below command is not working&lt;/P&gt;&lt;P&gt;echo -e "print network_objects &amp;lt;NAME_OF_GROUP&amp;gt;\n-q\n" | dbedit -local 2&amp;gt;&amp;amp;1 | grep -roh "Table:" | wc -l‍&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 17:32:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/157242#M92943</guid>
      <dc:creator>ganeshan_dharm1</dc:creator>
      <dc:date>2022-09-14T17:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to count objects of a group</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/157261#M92944</link>
      <description>&lt;P&gt;If you open the network group in SmartConsole, on top right side you have number of objects in the group.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 06:50:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-to-count-objects-of-a-group/m-p/157261#M92944</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2022-09-15T06:50:40Z</dc:date>
    </item>
  </channel>
</rss>

