<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Cisco stuff is so full of conditions and exceptions that sometimes
    it helps to look outside that ecosystem-of-bloat (not the fault of
    Rancid, fwiw). <br>
    That said, ShowCellular is pretty simple. You could eliminate the
    PDP and DNS lines for certain.<br>
    <br>
    outside of ios.pm, hrancid has some nice svelte ones like
    ShowVersion and ShowStack.<br>
    <br>
    Just modify ProcessHistory accordingly.<br>
    <br>
    <div class="moz-cite-prefix">On 2/20/2018 12:37 PM, Charles T.
      Brooks wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CEEBF9A829E3F740A191C6755D57653B0227453C6D@HNCEXCHANGE02.hbcs.org">
      <pre wrap="">I have some old cisco ACE devices and have been backing them up with rancid using the normal "cisco" module.

I want to add some commands like "show ft group summary" for example, and have the output of those commands show up in rancid diffs, prefixed with exclamation points in the same way that normal "show version" output is.

I've done this before by copying a device type definition from /etc/rancid.types.base to /etc/rancid.types.conf and editing it, but in the past I was always removing troublesome commands, not adding new ones.

Is there an existing module that I can reference in /etc/rancid.types.conf that simply takes the output from a command and prefixes exclamation points, no fancy special processing?  Or do I need to write one?

Thanks!
--Charlie

------------------  CONFIDENTIALITY NOTICE  ---------------

  This message, including any attachments, is for the sole use of the
intended recipient(s) and may contain privileged confidential information
protected by law. Any unauthorized review, use, disclosure or distribution
of this message is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of this message.
 
     ------------------  CONFIDENTIALITY NOTICE  ---------------

_______________________________________________
Rancid-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>
<a class="moz-txt-link-freetext" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <table>
        <tbody>
          <tr>
            <td style="padding-left: 20px" width="90%">Doug Hughes<br>
              Keystone NAP<br>
              Fairless Hills, PA<br>
              1.844.KEYBLOCK (539.2562)</td>
            <td style="align: right;padding-right: 20px"><img
                src="cid:part1.26132052.B9B153C1@keystonenap.com">
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>