monit-general
[Top][All Lists]
Advanced

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

Problems with external script execution


From: Andrea Gagliardi
Subject: Problems with external script execution
Date: Tue, 12 Jul 2016 11:41:39 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hallo.

Each time i try to execute external scripts I get nothing (script is not executed)

Using monit -Ivv for debug I get:

-------------------------------------------------------------------------------
    monit() [0x41b6b3]
    monit() [0x41be0f]
    monit() [0x416a25]
    monit() [0x42cf6d]
    monit() [0x42b40a]
    monit() [0x412598]
    monit() [0x4132fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f737535b830]
    monit() [0x404d2a]

And no execution of script will happen (even a simple touch of a file)

Tried monit 5.16 (from ubuntu) and 5.18 (from official tar.gz 64bit)

Configuration is:

check process redis with pidfile /run/redis/redis-server.pid
    if failed host 127.0.0.1 port 6379 then exec "/home/pushover/test.sh"

or

check process redis with pidfile /run/redis/redis-server.pid
if failed host 127.0.0.1 port 6379 then exec "/bin/bash -c '/home/pushover/test.sh'"

OS is Ubuntu 16.04

Thanks

andrea :: netlite.it

Attachment: smime.p7s
Description: Firma crittografica S/MIME


reply via email to

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