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

Load API endpoints from {{$config}} so that users can add their own endpoints

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • None
    • None
    • None

    Description

      The idea is to put all the API endpoints into $config['api']['endpoints'] so that users can add or remove api endpoints as desired.

      Included is a diff for the requested improvement.

      Purpose: To allow users to add their own, custom API endpoints without requiring them to modify html/api/v0/index.php.

      Attachments

        1. api_endpoints.diff
          2 kB
          Gunnar Guðvarðarson

        Activity

          [OBS-3247] Load API endpoints from {{$config}} so that users can add their own endpoints
          landy Mike Stupalov made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          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}
           
          {color:#505F79}_Note, this comment is added automatically._{color} ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]
          landy Mike Stupalov made changes -
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]
          gunnarg Gunnar Guðvarðarson created issue -

          People

            adama Adam Armstrong
            gunnarg Gunnar Guðvarðarson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: