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

Add support for Riverbed Steelhead and Stingray/Steelapp ZeusTM based appliances

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Discovery, Poller
    • Riverbed Steelhead, Riverbed Stingray/Steelapp ZeusTM based appliances.

    Description

      Content is ready and tested against software and hardware devices.

      Updated STEELHEAD-MIB and new ZXTM-MIB-SMIv2 will be added.

      [user@box ~/SRC/observium-trunk-development]$ svn status
      M includes/definitions/sensors.inc.php
      M includes/discovery/os/linux.inc.php
      A includes/discovery/sensors/steelhead-mib.inc.php
      A includes/polling/os/steelhead.inc.php
      M mibs/riverbed/STEELHEAD-MIB
      A mibs/riverbed/ZXTM-MIB-SMIv2
      [user@box ~/SRC/observium-trunk-development]$

      Attachments

        Activity

          [OBS-1085] Add support for Riverbed Steelhead and Stingray/Steelapp ZeusTM based appliances

          Added in r5980.

          landy Mike Stupalov added a comment - Added in r5980.

          Thanks for the suggestions. Numeric OID's to pull model and version from are probably necessary in the polling/os/steelhead.inc.php file due to the EX models using a different MIB that I am yet to obtain a copy of.

          re: copyright, the current license and in particular the attribution to Adam alone irks me, but I don't actually care one way or another.

          I've attached another patch with fixes as suggested and standard Observium copyright.

          Discovery debug output attached for both devices types in the same .txt file.

          colin.stubbs Colin Stubbs added a comment - Thanks for the suggestions. Numeric OID's to pull model and version from are probably necessary in the polling/os/steelhead.inc.php file due to the EX models using a different MIB that I am yet to obtain a copy of. re: copyright, the current license and in particular the attribution to Adam alone irks me, but I don't actually care one way or another. I've attached another patch with fixes as suggested and standard Observium copyright. Discovery debug output attached for both devices types in the same .txt file.

          1. For sensor state definitions recomended use types with '-state' at end:

          -$config['sensor_states']['steelhead-system-health']
          +$config['sensor_states']['steelhead-system-state']
           
          -$config['sensor_states']['steelhead-service-status']
          +$config['sensor_states']['steelhead-service-state']
          

          2. In snmp*() functions always (if possible) use explicit indication MIB and named oids:

          -$value = snmp_get($device, $oid, "-Oqv", "", mib_dirs('riverbed'));
          +$value = snmp_get($device, "optServiceStatus.0", "-Oqv", "STEELHEAD-MIB", mib_dirs('riverbed'));
          

          3. Numeric oids only if named oids impossible!
          4. For convert state names to values use state_string_to_numeric():

          +$value = state_string_to_numeric('steelhead-service-state', $value);
          

          5. Attach debug output for discovery devices (tho oses):

          ./discovery.php -d -h <riverbed_device>
          ./discovery.php -d -h <zeustm_device>
          

          6. About @copyright, you should accept Observium License, in copyright will always be:

          @copyright  (C) 2006-2014 Adam Armstrong
          

          If this is not possible, we will not accept the code in the main base.

          landy Mike Stupalov added a comment - 1. For sensor state definitions recomended use types with '-state' at end: -$config['sensor_states']['steelhead-system-health'] +$config['sensor_states']['steelhead-system-state']   -$config['sensor_states']['steelhead-service-status'] +$config['sensor_states']['steelhead-service-state'] 2. In snmp*() functions always (if possible) use explicit indication MIB and named oids: -$value = snmp_get($device, $oid, "-Oqv", "", mib_dirs('riverbed')); +$value = snmp_get($device, "optServiceStatus.0", "-Oqv", "STEELHEAD-MIB", mib_dirs('riverbed')); 3. Numeric oids only if named oids impossible! 4. For convert state names to values use state_string_to_numeric(): +$value = state_string_to_numeric('steelhead-service-state', $value); 5. Attach debug output for discovery devices (tho oses): ./discovery.php -d -h <riverbed_device> ./discovery.php -d -h <zeustm_device> 6. About @copyright , you should accept Observium License , in copyright will always be: @copyright (C) 2006-2014 Adam Armstrong If this is not possible, we will not accept the code in the main base.

          Actually ignore the description, I had forgotten a couple of files and modifications.

          Patch and proposed image attached.

          colin.stubbs Colin Stubbs added a comment - Actually ignore the description, I had forgotten a couple of files and modifications. Patch and proposed image attached.

          Patch against current observium-trunk.

          colin.stubbs Colin Stubbs added a comment - Patch against current observium-trunk.

          Proposed icon for Riverbed devices.

          colin.stubbs Colin Stubbs added a comment - Proposed icon for Riverbed devices.

          People

            landy Mike Stupalov
            colin.stubbs Colin Stubbs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: