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

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to