monit-general
[Top][All Lists]
Advanced

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

Monit Custom Tests "Top 10 programs"


From: Sam M
Subject: Monit Custom Tests "Top 10 programs"
Date: Wed, 3 Dec 2014 14:28:16 -0700

Hello,

I'm trying to setup a custom test for the "Top 10 programs" with no luck.

I added the following line in monit.conf

check program top10 with path "/usr/bin/top -n1 -b"
if status != 0 then alert

Once I restart monit I get the following error message:

Starting monit: /etc/monit.conf:228: Error: syntax error '"/usr/bin/top -n1 -b"'

Your help would be much appreciated.

Thanks,
Sam

reply via email to

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