Hello,

which Monit version it is? (monit -V)

Regards,
Martin


> On 03 Dec 2014, at 22:28, Sam M <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> 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
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general 
> <https://lists.nongnu.org/mailman/listinfo/monit-general>
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to