3 Replies Latest reply on Aug 15, 2012 6:48 AM by Bill Robinson

    how to show agentinfo output in a NSH script job

      I have an nsh script job that runs fine, but it doesnt report the output of the agentinfo command, merely runs it.


      do I need to add an echo command for the agentinfo command? or some other blcli command to have the agentinfo data show up in the "Show Log" and when you click on each target in the job run?


      here is the script I am currently using. Please offer any suggestions.



      # description: validate RSCD agent for one or more servers




      for SERVER in $*



      echo "Checking Agent status for server $SERVER$ with user $USER"

      agentinfo $SERVER







      Todd McDaniel