Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • Professional Edition
    • Web Interface

    Description

      It would be nice if there was (even simple) integration to Oxidized, like there is for RANCID.

      Oxidized is a more modern implementation of RANCID (GIT vs CVS/Ruby vs Perl/TCL/Expect), and generally has a more mordern API available for integration.

      https://github.com/ytti/oxidized

      Attachments

        Activity

          [OBS-1986] Integration for Oxidized

          I still don't think there's any further work to be done on this. It works for us without code modification, using the config that I posted a year ago. 

          stevenr Steven Robson added a comment - I still don't think there's any further work to be done on this. It works for us without code modification, using the config that I posted a year ago. 
          nexeonjesse Jesse added a comment -

          Is work still being done on this? I noticed it's marked as in progress but there hasn't been any updates in some time.

          nexeonjesse Jesse added a comment - Is work still being done on this? I noticed it's marked as in progress but there hasn't been any updates in some time.

          We already use Oxidized with Observium (pro version). I don't think there's any code update required - it works with the existing rancid code. 

          $config['rancid_version'] = '3'; // In generate-rancid.php use delimeter ':' (by default) and ';' for v3
          $config['rancid_configs'] = array('/usr/local/share/oxidized/obsconfigs');
          $config['rancid_ignorecomments'] = 0; // Ignore lines starting with #
          $config['rancid']['os_map']['h3c'] = 'comware';
          $config['rancid']['os_map']['hh3c'] = 'comware';

          We need this Oxidized update hook:

          git_update_hook:
          type: exec
          events: [post_store]
          cmd: 'sh -c "cd /usr/local/share/oxidized/obsconfigs && git pull"'
          async: true
          timeout: 300

          So Oxidized checks the new code into git, and then immediately pulls it into a dir that contains the latest config, and Observium picks that up. 

          stevenr Steven Robson added a comment - We already use Oxidized with Observium (pro version). I don't think there's any code update required - it works with the existing rancid code.  $config ['rancid_version'] = '3'; // In generate-rancid.php use delimeter ':' (by default) and ';' for v3 $config ['rancid_configs'] = array('/usr/local/share/oxidized/obsconfigs'); $config ['rancid_ignorecomments'] = 0; // Ignore lines starting with # $config ['rancid'] ['os_map'] ['h3c'] = 'comware'; $config ['rancid'] ['os_map'] ['hh3c'] = 'comware'; We need this Oxidized update hook: git_update_hook: type: exec events: [post_store] cmd: 'sh -c "cd /usr/local/share/oxidized/obsconfigs && git pull"' async: true timeout: 300 So Oxidized checks the new code into git, and then immediately pulls it into a dir that contains the latest config, and Observium picks that up. 

          I'd also be happy to help working on this feature, if there is anything to do.

          dherrman Daniel Herrmann added a comment - I'd also be happy to help working on this feature, if there is anything to do.

          Any progress here? Is there some basic code which I can help improve? Would be very interested in a integration of oxidized with observium.

          cramer Matthias Cramer added a comment - Any progress here? Is there some basic code which I can help improve? Would be very interested in a integration of oxidized with observium.

          Anything new about this? We decided for oxidized instead of rancid, but love the integration that is provided for rancid. Any timeframe for this feature?

          dherrman Daniel Herrmann added a comment - Anything new about this? We decided for oxidized instead of rancid, but love the integration that is provided for rancid. Any timeframe for this feature?

          Hi landy

          Do you have an update on this ?

          Just grepped an up-to-date subscription edition version here and there is not a single occurence of 'oxidized' in the code so I guess nothing was pushed yet ?

          Regards,

          rdegez Romain Degez added a comment - Hi landy Do you have an update on this ? Just grepped an up-to-date subscription edition version here and there is not a single occurence of 'oxidized' in the code so I guess nothing was pushed yet ? Regards,

          This feature work already in progress.

          But just for know - rancid 3.x supported GIT.

          landy Mike Stupalov added a comment - This feature work already in progress. But just for know - rancid 3.x supported GIT.

          People

            landy Mike Stupalov
            Jensen Michael
            Votes:
            14 Vote for this issue
            Watchers:
            20 Start watching this issue

            Dates

              Created:
              Updated: