monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Program status testing - alert contains stdout and not stderr


From: Nestor Urquiza
Subject: Program status testing - alert contains stdout and not stderr
Date: Sat, 13 Jul 2013 07:39:35 -0400

Hi guys,

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.

Thanks!

- Nestor

reply via email to

[Prev in Thread] Current Thread [Next in Thread]