Acme Packet (MOSC)

MOSC Banner

script development to capture logs

edited Nov 15, 2012 9:34AM in Acme Packet (MOSC) 5 commentsAnswered ✓

Hi,

 

For our lab environment we need to develop a script to collect logs from all our lab components for troubleshooting purposes.

 

One of the element is ACME which we need to write a script to loginto acme and capture sipmsg.log

 

The idea is to execute the following and capture the data from the screen;

 

start-script:

 

ssh user@<IP Address>

<ACLI-user-password>

enable

<password>

tail-logfile-open sipd sipmsg.log

 

stop-script:

 

ssh user@<IP Address>

<ACLI-user-password>

enable

<password>

tail-logfile-close sipd sipmsg.log

 

When we execute startscript we receive the following;

 

remoteserver# ssh user@<IP Address>

<ACLI-user-password>

enable

<password>

tail-logfile-open sipd sipmsg.log

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center