|Subject:||Program status testing - alert contains stdout and not stderr|
|Date:||Sat, 13 Jul 2013 07:39:35 -0400|
I am monitoring a program as in:
check program myscript with path "/usr/local/bin/myscript.sh" with timeout 1000 seconds if status != 0 then alert
When it fails I get the stdout in the alert instead of stderr. There is a lot of logging in the script and monit is collecting only the first few lines so tge real cause of the issue is not coming up. This is happening in solaris running 5.5.1.
|[Prev in Thread]||Current Thread||[Next in Thread]|