Hi Martin, thanks for your reply :-)

so using:

>if cpu > 1% for 2 cycles then exec "/bin/bash -c 'top -bn1 | mail -s top
[email protected]'"

does not run (within apache) although using same (for example) to check
percentage of disk:

if cpu > 1% then exec "/bin/bash -c 'top -bn1 | mail -s top
[email protected]'"

runs!

how investigate about that problem? are "for 2 cycles" a problem?

thanks

Pol


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

Reply via email to