Details

    • Help
    • Resolution: Not A Bug
    • Major
    • None
    • Professional Edition
    • Discovery, Poller
    • Juniper JunOS eg. EX4300, EX4600, MX480, MX204 and so on

    Description

      Hey there,

      my company is facing issues that Observium is reaching its limits in discovering and we want to reduce load on our discovery by ignoring so irrelevant port types.

       

      JunOS always create a Unit 0 interface if a port is seen as untagged e.g. ge-0/0/0 and ge-0/0/0.0, we want to ignore all Port with a .0 at the end but how?

       

      I have seen the $config['bad_if_regexp'][] but what would be the right expression?

       

      $config['bad_if_regexp'][] = "/.[0]:/"; ? or what?

      Attachments

        Activity

          [OBS-3512] How to ignore Junipers Unit 0 ports
          landy Mike Stupalov made changes -
          Issue Type Original: Task [ 3 ] New: Help [ 10200 ]
          bot Observium Bot made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Issue Type Original: Improvement [ 4 ] New: Task [ 3 ]
          Resolution New: Not A Bug [ 6 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Better regex for you:

          $config['bad_if_regexp'][] = "/\.0$/";
          

          landy Mike Stupalov added a comment - Better regex for you: $config['bad_if_regexp'][] = "/\.0$/";
          landy Mike Stupalov made changes -
          Status Original: In Review [ 10101 ] New: In Progress [ 3 ]
          landy Mike Stupalov made changes -
          Comment [ Please make and attach additional information about the device:
           * full snmp dump from device:
          {noformat}
          snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
          snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk
          {noformat}
            _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:
          {noformat}
          ./discovery.php -d -h <device>
          ./poller.php -d -h <device>
          {noformat}
           
          * additionally attach device and/or vendor specific MIB files

          {color:#505F79}_Note, this comment is added automatically._{color} ]
          davgro davgro added a comment -

          Found out myself:

           

          $config['bad_if_regexp'][] = '/^.*\.[0]{1}/';

           

          Sorry for wasting your time

          davgro davgro added a comment - Found out myself:   $config ['bad_if_regexp'] [] = '/^.*\. [0] {1}/';   Sorry for wasting your time
          davgro davgro made changes -
          Comment [ Fund out myself:

           

          $config['bad_if_regexp'][] = '/^.*\.[0]{1}/';

           

          Sorry for wasting your time ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]
          bot Observium Bot made changes -
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: