3 Replies Latest reply on Apr 30, 2018 12:55 PM by ryhlen.schoeberl

    Linux/Unix Monitor


      I am trying to monitor so that if a service goes down that I can get an alert.


      The most effective way I have found is to do the following script




      if ps -ef | grep speechbridged | grep -v grep; then

          echo "Statistic 0"


          echo "Statistic 1"




      I would like solarwinds to see that statistic 0 is up and statistic 1 is down, and the outputs are correct. However when I test it on the node I get:

      Test Failed with "Unknown" status on node

      No fields were recognized in the script output:

      root 7716 1 0 09:16 pts/1 00:00:00 /bin/sh /etc/init.d/speechbridged start

      Statistic 0


      Any Ideas on how to make the monitor status up as the script is successful?