<?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: ISP Redundancy SNMP OID for monitoring backup link in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ISP-Redundancy-SNMP-OID-for-monitoring-backup-link/m-p/237919#M46192</link>
    <description>&lt;P&gt;It does look like this is possible (with a little work)&amp;nbsp; (&lt;SPAN&gt;chkpnt.mib)&lt;/SPAN&gt;:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://support.checkpoint.com/results/sk/sk90470" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk90470&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;      fwIspStatus OBJECT-TYPE
            SYNTAX  DisplayString
            MAX-ACCESS read-only
            STATUS  current
            DESCRIPTION "Status"
            ::= { fwIspEntry 3 }   &lt;/PRE&gt;&lt;P&gt;When querying for that OID:&lt;BR /&gt;snmpwalk -v 2c -c SNMPReadString -On HostName .1.3.6.1.4.1.2620.1.1.25.7.1.3&lt;BR /&gt;.1.3.6.1.4.1.2620.1.1.25.7.1.3.1.0 = STRING: "OK"&lt;BR /&gt;.1.3.6.1.4.1.2620.1.1.25.7.1.3.2.0 = STRING: "OK"&lt;/P&gt;&lt;P&gt;A String is returned with the current state of the link configured in ISP Redundancy.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There does seem to be an issue, when performing an snmpget on the actual OID (before doing a snmpwalk) the following may be returned:&lt;BR /&gt;"No Such Object available on this agent at this OID"&lt;BR /&gt;&lt;BR /&gt;This is accounted for as part of the perl script that performs the query for me (And then returns an integer that can be graphed, instead of the string result)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;#!/usr/bin/perl
# .1.3.6.1.4.1.2620.1.1.25.7.1.3.1.0 ## Link 1
# .1.3.6.1.4.1.2620.1.1.25.7.1.3.2.0 ## Link 2

my $host = $ARGV[0];
chomp $host;
$output = `/usr/bin/snmpget -v 2c -c SNMPString $host:161 .1.3.6.1.4.1.2620.1.1.25.7.1.3.1.0`;

if ($output =~ "No Such Object available on this agent at this OID") {
        $snmpwalk = `/usr/bin/snmpwalk -v 2c -c SNMPString $host:161 .1.3.6.1.4.1.2620.1.1.25.7`;
}

$output = `/usr/bin/snmpget -v 2c -c SNMPString $host:161 .1.3.6.1.4.1.2620.1.1.25.7.1.3.1.0`;

if ($output =~ "OK") {
        print "1";
}
else {
        print "0";
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2025 23:45:34 GMT</pubDate>
    <dc:creator>KS50</dc:creator>
    <dc:date>2025-01-07T23:45:34Z</dc:date>
    <item>
      <title>ISP Redundancy SNMP OID for monitoring backup link</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ISP-Redundancy-SNMP-OID-for-monitoring-backup-link/m-p/213913#M40799</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;
&lt;P&gt;I have configured ISP redundancy as Primary/Backup and I am using SNMP to monitor the failure of the primary gateway address. If the value of the primary gateway address changes, it indicates that the primary link has failed. However, I am unable to receive any alerts if the secondary link fails, even if the primary link is still up, because the default gateway does not change. Is there any SNMP OID available for monitoring ISP redundancy?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2024 15:11:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ISP-Redundancy-SNMP-OID-for-monitoring-backup-link/m-p/213913#M40799</guid>
      <dc:creator>Blason_R</dc:creator>
      <dc:date>2024-05-11T15:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Redundancy SNMP OID for monitoring backup link</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ISP-Redundancy-SNMP-OID-for-monitoring-backup-link/m-p/213927#M40806</link>
      <description>&lt;P&gt;Never seen one myself and even sk on support site does not list one, but lets see if someone else can confirm.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.checkpoint.com/results/sk/sk90860" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk90860&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2024 18:16:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ISP-Redundancy-SNMP-OID-for-monitoring-backup-link/m-p/213927#M40806</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-05-11T18:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Redundancy SNMP OID for monitoring backup link</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ISP-Redundancy-SNMP-OID-for-monitoring-backup-link/m-p/213931#M40809</link>
      <description>&lt;P&gt;Nah I dont think so if such thing exists&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2024 03:59:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ISP-Redundancy-SNMP-OID-for-monitoring-backup-link/m-p/213931#M40809</guid>
      <dc:creator>Blason_R</dc:creator>
      <dc:date>2024-05-12T03:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Redundancy SNMP OID for monitoring backup link</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ISP-Redundancy-SNMP-OID-for-monitoring-backup-link/m-p/237919#M46192</link>
      <description>&lt;P&gt;It does look like this is possible (with a little work)&amp;nbsp; (&lt;SPAN&gt;chkpnt.mib)&lt;/SPAN&gt;:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://support.checkpoint.com/results/sk/sk90470" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk90470&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;      fwIspStatus OBJECT-TYPE
            SYNTAX  DisplayString
            MAX-ACCESS read-only
            STATUS  current
            DESCRIPTION "Status"
            ::= { fwIspEntry 3 }   &lt;/PRE&gt;&lt;P&gt;When querying for that OID:&lt;BR /&gt;snmpwalk -v 2c -c SNMPReadString -On HostName .1.3.6.1.4.1.2620.1.1.25.7.1.3&lt;BR /&gt;.1.3.6.1.4.1.2620.1.1.25.7.1.3.1.0 = STRING: "OK"&lt;BR /&gt;.1.3.6.1.4.1.2620.1.1.25.7.1.3.2.0 = STRING: "OK"&lt;/P&gt;&lt;P&gt;A String is returned with the current state of the link configured in ISP Redundancy.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There does seem to be an issue, when performing an snmpget on the actual OID (before doing a snmpwalk) the following may be returned:&lt;BR /&gt;"No Such Object available on this agent at this OID"&lt;BR /&gt;&lt;BR /&gt;This is accounted for as part of the perl script that performs the query for me (And then returns an integer that can be graphed, instead of the string result)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;#!/usr/bin/perl
# .1.3.6.1.4.1.2620.1.1.25.7.1.3.1.0 ## Link 1
# .1.3.6.1.4.1.2620.1.1.25.7.1.3.2.0 ## Link 2

my $host = $ARGV[0];
chomp $host;
$output = `/usr/bin/snmpget -v 2c -c SNMPString $host:161 .1.3.6.1.4.1.2620.1.1.25.7.1.3.1.0`;

if ($output =~ "No Such Object available on this agent at this OID") {
        $snmpwalk = `/usr/bin/snmpwalk -v 2c -c SNMPString $host:161 .1.3.6.1.4.1.2620.1.1.25.7`;
}

$output = `/usr/bin/snmpget -v 2c -c SNMPString $host:161 .1.3.6.1.4.1.2620.1.1.25.7.1.3.1.0`;

if ($output =~ "OK") {
        print "1";
}
else {
        print "0";
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 23:45:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ISP-Redundancy-SNMP-OID-for-monitoring-backup-link/m-p/237919#M46192</guid>
      <dc:creator>KS50</dc:creator>
      <dc:date>2025-01-07T23:45:34Z</dc:date>
    </item>
  </channel>
</rss>

