Hi Everyone,
I am trying to get the output of a Linux Command and then to alert on it. i have non-root credentials which have sudo permissions to run that command.
Referring below article I am putting "sudo bash ${Script}" in the command line and then simple command in the Script body but this is not giving me any output. Instead the processing never completes. Am I doing anything wrong?
https://solarwinds-v9.hosted.jivesoftware.com/docs/DOC-178469
Also after this the output of the command in not just single output instead it is a set of string in multiple line I want to break them up into variables line wise. How can I achieve that?