[Top][All Lists]

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

Re: check program times out

From: SZÉPE Viktor
Subject: Re: check program times out
Date: Fri, 01 Apr 2022 09:50:23 +0200
User-agent: Horde Application Framework 5

Idézem/Quoting Tino Hendricks <>:

Dear list,

I’m trying to monitor an USB port.

The script „“ returns „error“ or „exists“ (successfully tested in Terminal as root).

Monit runs as root but with

check program checkUSB with path "/usr/local/sbin/"
    if content != "exists" then alert

never returns. The process runs forever and is then killed by timeout.

Hello Tino!

Checks run under the same user as Monit.
You could debug it with
logger $(whoami)
in your script or with monit status command.

SZÉPE Viktor, webes alkalmazás üzemeltetés / Running your application
ügyelet 🌶️ hotline: +36-20-4242498  skype: szepe.viktor
Budapest, III. kerület

Attachment: smime.p7s
Description: S/MIME Signature

reply via email to

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