3 Replies Latest reply on Dec 19, 2010 12:35 PM by bleearg13

    NCM Action in Orion alerts - Preserve Formatting

    bleearg13

      When executing an NCM Action in an Orion alert, it would be handy if the action could preserve the command output's formatting.  For instance, here is a typical command run from the CLI of a router:

      show configuration interfaces t1-0/1/0:2:2 
      description "ID 1234";
      enable;
      encapsulation ppp;
      t1-options {
          bert-period 120;
      }
      unit 0 {
          family inet {
              filter {
                  group 10;
              }
              address 192.168.216.53/30;
          }
      }

      Here's what the same information looks like when run from the NCM Action and included in an email:

      show configuration interfaces t1-0/1/0:2:2
      description "ID 1234";
      enable;
      encapsulation ppp;
      t1-options {
      bert-period 120;
      }
      unit 0 {
      family inet {
      filter {
      group 10;
      }
      address 192.168.216.53/30;
      }
      }

      This may not seem like a big deal, but it gets worse when you start adding in other 'show' commands that typically rely on space- or tab-based tables to show interface counters/errors or BGP summary information.