connected to server using SSH.client and able to inject alarm using Channel.Send(‘command’) .
We need help for below commands--- what we are getting output from server --- we are assigning to the variable('+raw1+') to one attribute (RCA) – raw1= OPERATION_CONTEXT .oc.CSCORE alarm_object
channel.send('manage show '+raw1+' all a'+"\n")
raw1 = .oc.CSCORE alarm_object 27731866
o/p---(
manage show OPER .oc.CSCORE alarm_object 27731866
TeMIP Framework (V8.3.0)
Using default ALL IDENTIFIERS
OPERATION_CONTEXT dev_ns:.oc.CSCORE alarm_object 27731866
On director: dev_ns:.temip.TEDEV_director
AT 2022-08-12-17:31:27.795 Identifiers
Examination of Attributes Shows:
Identifier = 27731866
[temipadm@vtemip1test STP]$ all a
bash: all: command not found...
)
and we are using that variable to trigger another command— above one
But we are getting issue -à the command is braking.
But if we use hardcoded value instated of variable that time it will work.----
channel.send('manage show OPERATION_CONTEXT .oc.CSCORE alarm_object 27731776 all a'+"\n")
i need this to be work-- channel.send('manage show '+raw1+' all a'+"\n")