<?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: SNMP on VSX - Location and Contact in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245968#M47933</link>
    <description>&lt;P&gt;Setting "vsenv" in Bash (Expert mode) has no affect on CLISH if you try to run "clish -c ...." directly. &amp;nbsp;You always have to enter CLISH, then "set virtual-system VSID". &amp;nbsp;Alternatively, write a short CLISH script then execute it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likewise, if you SSH directly to CLISH, and run "set virtual-system VSID", then enter Expert mode, your VS is reset back to VS0 in Bash. &amp;nbsp;These two have no bearing on each other (yet).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This has been fixed in R82 if you use the new VSnext mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(EDIT) &amp;nbsp;For SNMP, you can run SNMP in several different modes. &amp;nbsp;You can run one SNMP instance for all VSes or you can run a SNMP instance per-VS context. &amp;nbsp;Check your SNMP mode. &amp;nbsp;Details are in the VSX Admin Guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2025 13:01:16 GMT</pubDate>
    <dc:creator>Duane_Toler</dc:creator>
    <dc:date>2025-04-08T13:01:16Z</dc:date>
    <item>
      <title>SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/213258#M40593</link>
      <description>&lt;P&gt;Good day!&lt;BR /&gt;&lt;BR /&gt;Been working on rolling out SNMP configuration for our checkpoint firewalls and everything is now good.&lt;BR /&gt;But I have one concern, which is how I can define snmp location and snmp contact for the VS's?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Per now location is not defined and contact is defined like this:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;contact_1 (where the number is the vs-id)&lt;BR /&gt;&lt;BR /&gt;Anyone that know how I can define this properly?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;br&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 May 2024 10:30:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/213258#M40593</guid>
      <dc:creator>JorgenSpange</dc:creator>
      <dc:date>2024-05-06T10:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/213332#M40619</link>
      <description>&lt;P&gt;Believe this is configured via clish on the gateway, specifically in the context of the VS.&lt;BR /&gt;See:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/R81.10/WebAdminGuides/EN/CP_R81.10_Gaia_AdminGuide/Topics-GAG/SNMP-Gaia-Clish.htm?Highlight=snmp" target="_blank"&gt;https://sc1.checkpoint.com/documents/R81.10/WebAdminGuides/EN/CP_R81.10_Gaia_AdminGuide/Topics-GAG/SNMP-Gaia-Clish.htm?Highlight=snmp&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 16:35:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/213332#M40619</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-05-06T16:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/214855#M41040</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;is correct. &amp;nbsp;This is per-VS on each gateway. &amp;nbsp;Most likely, you will want your SNMP mode set to vs-direct-access. &amp;nbsp;This lets you poll a VS directly with its VS address, rather than have to go through VS0 and set an SNMP context. &amp;nbsp;Some SNMP managers may have issue with this. &amp;nbsp; &amp;nbsp;However, be aware that SNMP traps always will originate from VS0 with with context for the VS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#ShamelessPlug&lt;/P&gt;
&lt;P&gt;I have published an Ansible method to send CLISH configurations to Gaia hosts, including VSX virtual systems, in the CheckMates ToolBox contest forum. &amp;nbsp;It uses a Jinja2 template to generate the configuration. &amp;nbsp;You can edit the startup script to remove the "clish_cmd" as a CLI argument, and instead define 'clish_cmd' as a YAML list with your SNMP configurations. &amp;nbsp;The VSID will be set automatically based on your inventory configuration. &amp;nbsp;The playbook will also handle your VSX gateway cluster, to deploy the configuration for the VS on all VSX gateway hosts (each node of the cluster). &amp;nbsp;Or, if you just have a single VSX gateway, that will work, too; this is defined in the inventory as well.&lt;/P&gt;
&lt;P&gt;This could be helpful if you're looking to automate your rollout and intend to deploy across a large number of virtual systems.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 18:23:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/214855#M41040</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2024-05-20T18:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245928#M47926</link>
      <description>&lt;P&gt;Thanks for the reply, guys!&lt;BR /&gt;&lt;BR /&gt;Sorry for my late response..&lt;BR /&gt;&lt;BR /&gt;Have to admit that it's not clear to me how you would configure something in clish on a per vs basis?&lt;BR /&gt;&lt;BR /&gt;If i do vsenv and clish -c 'show configuration' it will list the snmp location and contact which is configured for VS0.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 07:43:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245928#M47926</guid>
      <dc:creator>JorgenSpange</dc:creator>
      <dc:date>2025-04-08T07:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245931#M47927</link>
      <description>&lt;P&gt;This has been subject to a few discussions, you can't easily access a context from VS0 and clish and run commands without jumping some hoops like using files and so on.&lt;/P&gt;
&lt;P&gt;You can then go to clish from VSO, type&amp;nbsp;&lt;EM&gt;show virtual-system all&lt;/EM&gt; and then&amp;nbsp;&lt;EM&gt;set virtual-system X &amp;nbsp;&lt;/EM&gt;where X is your VSID.&lt;/P&gt;
&lt;P&gt;your prompt will change to &lt;EM&gt;hostname:x&amp;gt;&lt;/EM&gt; meaning you're in clish for the relevant VS.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 08:56:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245931#M47927</guid>
      <dc:creator>Alex-</dc:creator>
      <dc:date>2025-04-08T08:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245941#M47928</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for the response.&lt;BR /&gt;Even though I set the vsenv as you described through clish it does not still seem to be writing the configuration for that specific vs.&lt;BR /&gt;If I run show configuration, the global configuration is listed and I am not able to find the snmp contact which is defined, currently as contact_3 where the number corresponds with the vs id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;Jørgen&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 09:53:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245941#M47928</guid>
      <dc:creator>JorgenSpange</dc:creator>
      <dc:date>2025-04-08T09:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245968#M47933</link>
      <description>&lt;P&gt;Setting "vsenv" in Bash (Expert mode) has no affect on CLISH if you try to run "clish -c ...." directly. &amp;nbsp;You always have to enter CLISH, then "set virtual-system VSID". &amp;nbsp;Alternatively, write a short CLISH script then execute it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likewise, if you SSH directly to CLISH, and run "set virtual-system VSID", then enter Expert mode, your VS is reset back to VS0 in Bash. &amp;nbsp;These two have no bearing on each other (yet).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This has been fixed in R82 if you use the new VSnext mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(EDIT) &amp;nbsp;For SNMP, you can run SNMP in several different modes. &amp;nbsp;You can run one SNMP instance for all VSes or you can run a SNMP instance per-VS context. &amp;nbsp;Check your SNMP mode. &amp;nbsp;Details are in the VSX Admin Guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 13:01:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245968#M47933</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2025-04-08T13:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245969#M47934</link>
      <description>&lt;P&gt;Good day,&lt;BR /&gt;&lt;BR /&gt;Yup I realized, but ssh'ing to the node and doing set virtual-system x and doing the clish config, does not seeem to work either.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 12:59:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245969#M47934</guid>
      <dc:creator>JorgenSpange</dc:creator>
      <dc:date>2025-04-08T12:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245986#M47941</link>
      <description>&lt;P&gt;Yes, SNMP itself is a global item because it is closely bound to the physical host. &amp;nbsp;You can't have different "contact" and "location" configurations per VS. &amp;nbsp;The physical host counters (disk, IO, RAM, fans, etc.) are part of the global SNMP daemon. &amp;nbsp;The Check Point product software counters (VPNs, connections, etc.) are accessed via the SNMP context (for SNMPv3) or community extension (SNMP v2c).&lt;/P&gt;
&lt;P&gt;You can have different SNMP v3 users with access to different VS IDs, which is part of the SNMP virtualization for VSX. VS0 is one of those specific VS IDs (assuming you have "snmp mode vs" and "snmp vs-direct-access on".&lt;/P&gt;
&lt;P&gt;What you are seeing is correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 15:03:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245986#M47941</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2025-04-08T15:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245996#M47947</link>
      <description>&lt;P&gt;I wrote &lt;A href="https://community.checkpoint.com/t5/Security-Gateways/VSX-clish-and-bash/m-p/216852/highlight/true#M41313" target="_self"&gt;a little script&lt;/A&gt; which helps with that. It's also &lt;A href="https://github.com/Bob-Zimmerman/CPFirewallScripts/blob/main/vsClish.sh" target="_self"&gt;up on Github&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 16:41:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/245996#M47947</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2025-04-08T16:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246008#M47949</link>
      <description>&lt;P&gt;Right, my problem would be solved if the VS' would inherit the configured snmp contact and location configured on the physical host. Instead it creates a contact with a running number and device location unset.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 21:06:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246008#M47949</guid>
      <dc:creator>JorgenSpange</dc:creator>
      <dc:date>2025-04-08T21:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246009#M47950</link>
      <description>&lt;P&gt;If you're using SNMP v2c, this&amp;nbsp;might be a bug. &amp;nbsp;Can you also try with SNMPv3 and and use SNMP contexts to test it?&lt;/P&gt;
&lt;P&gt;If you use snmpget or snmpwalk, then add "-n &amp;lt;VSID&amp;gt;" to the command option.&lt;/P&gt;
&lt;P&gt;Check the jumbo HFA release notes for your version; recent HFAs had some SNMP-related fixes. &amp;nbsp;You might have to run it through TAC if this is indeed a bug.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 21:32:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246009#M47950</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2025-04-08T21:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246024#M47951</link>
      <description>&lt;P&gt;I am not able to use the "-n &amp;lt;VSID&amp;gt;" as i am using:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"snmp mode vs" and "snmp vs-direct-access on".&lt;/SPAN&gt;&lt;BR /&gt;But here is the output of snmp contact when i poll the physical host and when i poll the vs.&lt;BR /&gt;The VS id is 3, hence the snmp contact is "contact_3":&lt;BR /&gt;&lt;BR /&gt;whoami@librenms:~$ snmpwalk -v 3 -u username -l authPriv -a SHA -A password -x AES -X password 192.0.2.29 1.3.6.1.2.1.1.4.0&lt;BR /&gt;iso.3.6.1.2.1.1.4.0 = STRING: "THIS IS THE SNMP CONTACT CONFIGURED."&lt;/P&gt;&lt;P&gt;whoami@librenms:~$ snmpwalk -v 3 -u username -l authPriv -a SHA -A password -x AES -X password 192.0.2.30 1.3.6.1.2.1.1.4.0&lt;BR /&gt;iso.3.6.1.2.1.1.4.0 = STRING: "contact_3"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also here is the output of location:&lt;BR /&gt;physical host:&lt;BR /&gt;iso.3.6.1.2.1.1.6.0 = STRING: "REGION,COUNTRY,CITY"&lt;BR /&gt;&lt;BR /&gt;vs:&lt;BR /&gt;iso.3.6.1.2.1.1.6.0 = STRING: "Unknown"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 06:19:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246024#M47951</guid>
      <dc:creator>JorgenSpange</dc:creator>
      <dc:date>2025-04-09T06:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246057#M47954</link>
      <description>&lt;P&gt;Tried to reply multiple times, but gets removed every time it seems like. Possibly cause i had the snmpwalk string copied.&lt;BR /&gt;I am using snmp v3.&lt;BR /&gt;&lt;BR /&gt;Here is the output of snmp walk, .20 is physical host and .30 is vs. cant do -n as i have&amp;nbsp;"snmp mode vs" and "snmp vs-direct-access on" configured.&lt;/P&gt;&lt;P&gt;whoami@librenms:~$ snmpwalk -v 3 … 192.0.2.29 1.3.6.1.2.1.1.4.0&lt;BR /&gt;iso.3.6.1.2.1.1.4.0 = STRING: "THIS IS THE SNMP CONTACT CONFIGURED."&lt;/P&gt;&lt;P&gt;whoami@librenms:~$ snmpwalk -v 3 ... 192.0.2.30 1.3.6.1.2.1.1.4.0&lt;BR /&gt;iso.3.6.1.2.1.1.4.0 = STRING: "contact_3"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 13:15:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246057#M47954</guid>
      <dc:creator>JorgenSpange</dc:creator>
      <dc:date>2025-04-09T13:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246099#M47964</link>
      <description>&lt;P&gt;I checked a VSX host of mine and got the same results. &amp;nbsp;My VSX has vs-direct-access as well, but the contact OID result didn't have the trailing VSID, when querying the VS directly. &amp;nbsp;Otherwise, the Location OID result was also "Unknown" like yours.&lt;/P&gt;
&lt;P&gt;R81.20 &amp;nbsp;Jumbo HFA 84&lt;/P&gt;
&lt;P&gt;Yeah this might be a bug. &amp;nbsp;Send it over to TAC for a review and hopefully they can get it escalated for you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 23:47:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246099#M47964</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2025-04-09T23:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP on VSX - Location and Contact</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246130#M47968</link>
      <description>&lt;P&gt;Created a TAC case and they replied with this:&lt;BR /&gt;&lt;A href="https://support.checkpoint.com/results/sk/sk166554" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk166554&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;So seems like this is expected behaviour and will not be fixed.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 10:31:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SNMP-on-VSX-Location-and-Contact/m-p/246130#M47968</guid>
      <dc:creator>JorgenSpange</dc:creator>
      <dc:date>2025-04-10T10:31:39Z</dc:date>
    </item>
  </channel>
</rss>

