This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

NCM Action in Orion alerts - Preserve Formatting

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.