Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-4110

Multiple BGP Sessions gone since last Update

Details

    Description

      Hey there,

      since the last update (12016), a large portion of our BGP sessions are no longer dicoverd. All IPv6 sessions are gone and on some devices also the IPv4 BGP sessions.

      We use Juniper MX routers.

       

      Attachments

        Activity

          [OBS-4110] Multiple BGP Sessions gone since last Update
          davgro davgro added a comment -

          Hey there,

          yes it is FreeBSD.

          snmpgetnext actually was the only one not correctly set.

          $config['snmpbulkget'] = "/usr/local/bin/snmpbulkget";
          $config['snmpbulkwalk'] = "/usr/local/bin/snmpbulkwalk";
          $config['snmptranslate'] = "/usr/local/bin/snmptranslate";
          +$config['snmpgetnext'] = "/usr/local/bin/snmpgetnext";
          $config['whois'] = "/usr/bin/whois";
          $config['mtr'] = "/usr/local/sbin/mtr";
          $config['nmap'] = "/usr/local/bin/nmap";

          davgro davgro added a comment - Hey there, yes it is FreeBSD. snmpgetnext actually was the only one not correctly set. $config ['snmpbulkget'] = "/usr/local/bin/snmpbulkget"; $config ['snmpbulkwalk'] = "/usr/local/bin/snmpbulkwalk"; $config ['snmptranslate'] = "/usr/local/bin/snmptranslate"; +$config ['snmpgetnext'] = "/usr/local/bin/snmpgetnext"; $config ['whois'] = "/usr/bin/whois"; $config ['mtr'] = "/usr/local/sbin/mtr"; $config ['nmap'] = "/usr/local/bin/nmap";

          Hi David,

          it seems as you have custom install with net-snmp not in standard path?

          Or this is FreeBSD?

          Simplest way for fix this, set correct path in config.php:

          $config['snmpgetnext']    = "/usr/local/bin/snmpgetnext";

          landy Mike Stupalov added a comment - Hi David, it seems as you have custom install with net-snmp not in standard path? Or this is FreeBSD? Simplest way for fix this, set correct path in config.php: $config['snmpgetnext'] = "/usr/local/bin/snmpgetnext";
          davgro davgro added a comment - - edited

          Hey there,

          we were able to fix the problem by our self.

          There seems to be a broken static call for snmpgetnext in /usr/bin/snmpgetnext

          CMD[/usr/bin/snmpgetnext t '1' -r '2' -v2c -c *** -Pud -OQUs -m BGP4
          V2-MIB-JUNIPER M /usr/local/www/observium
          subscription/mibs/rfc:/usr/local/www/observium-subscription/mibs/net-
          snmp:/usr/local/www/observium-subscription/mibs/juniper 'udp6':'lo0-
          0.rt01.ems2.bb.tkrz.de':'161' jnxBgpM2PeerLocalAs]

          CMD EXITCODE[127]
          CMD RUNTIME[0.0027s]
          STDOUT[

          ]
          STDERR[
          exec: /usr/bin/snmpgetnext: not found
          ]

          root@observium:/usr/local/www/observium-subscription # which snmpgetnext
          /usr/local/bin/snmpgetnext

          We were able to fix that by:

          root@observium:/usr/local/www/observium-subscription # ln -s
          /usr/local/bin/snmpgetnext /usr/bin/snmpgetnext

           

          I have sent you a txt with the full discovery in broken and fixed.

          davgro davgro added a comment - - edited Hey there, we were able to fix the problem by our self. There seems to be a broken static call for snmpgetnext in /usr/bin/snmpgetnext CMD[/usr/bin/snmpgetnext t '1' -r '2' -v2c -c *** -Pud -OQUs -m BGP4 V2-MIB-JUNIPER M /usr/local/www/observium subscription/mibs/rfc:/usr/local/www/observium-subscription/mibs/net- snmp:/usr/local/www/observium-subscription/mibs/juniper 'udp6':'lo0- 0.rt01.ems2.bb.tkrz.de':'161' jnxBgpM2PeerLocalAs] CMD EXITCODE [127] CMD RUNTIME [0.0027s] STDOUT[ ] STDERR[ exec: /usr/bin/snmpgetnext: not found ] root@observium:/usr/local/www/observium-subscription # which snmpgetnext /usr/local/bin/snmpgetnext We were able to fix that by: root@observium:/usr/local/www/observium-subscription # ln -s /usr/local/bin/snmpgetnext /usr/bin/snmpgetnext   I have sent you a txt with the full discovery in broken and fixed.

          Please check that you have updated DB schema after code upgrade:

          ./discovery.php -u
          

          Unfortunately I can't help you until I see at least discovery debug for

          ./discovery.php -d -m bgp-peers -h <device>
          

          You can send this output directly to my mail: mike@observium.org

          landy Mike Stupalov added a comment - Please check that you have updated DB schema after code upgrade: ./discovery.php -u Unfortunately I can't help you until I see at least discovery debug for ./discovery.php -d -m bgp-peers -h <device> You can send this output directly to my mail: mike@observium.org
          davgro davgro added a comment -

          I cannot provide this without disclosing discrete information about our clients.

          davgro davgro added a comment - I cannot provide this without disclosing discrete information about our clients.

          General questions and device support can be discussed in our Discord channel, click here to join.


          Please make and attach additional information about the device:

          • full snmp dump from device:

            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk

            If device not support SNMP version 2c, replace -v2c with -v1.

          • If you have problems with discovery or poller processes, please do and attach these debugs:

            ./discovery.php -d -h <device>
            ./poller.php -d -h <device>

          • additionally attach device and/or vendor specific MIB files

          This comment is added automatically.

          bot Observium Bot added a comment - General questions and device support can be discussed in our Discord channel, click here to join . Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk If device not support SNMP version 2c, replace -v2c with -v1. If you have problems with discovery or poller processes, please do and attach these debugs: ./discovery.php -d -h <device> ./poller.php -d -h <device> additionally attach device and/or vendor specific MIB files This comment is added automatically.

          People

            landy Mike Stupalov
            davgro davgro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: